PPP: Fix the output

This avoids ': :' in the output.

Update a test output accordingly.

(cherry picked from commit 4ec25d224e)
This commit is contained in:
Francois-Xavier Le Bail 2024-08-16 16:54:38 +02:00
parent a1c5161a95
commit 798c586184
2 changed files with 1 additions and 2 deletions

View File

@ -700,7 +700,6 @@ print_lcp_config_options(netdissect_options *ndo,
ND_PRINT(" (length bogus, should be >= 3)");
return 0;
}
ND_PRINT(": ");
ND_PRINT(": Callback Operation %s (%u)",
tok2str(ppp_callback_values, "Unknown", GET_U_1(p + 2)),
GET_U_1(p + 2));

View File

@ -35,7 +35,7 @@
Magic-Num Option (0x05), length 6: 0x021952cf
PFC Option (0x07), length 2
ACFC Option (0x08), length 2
Call-Back Option (0x0d), length 3: : Callback Operation CBCP (6)
Call-Back Option (0x0d), length 3: Callback Operation CBCP (6)
MRRU Option (0x11), length 4: 1614
End-Disc Option (0x13), length 23: Local
17 2000-03-27 08:56:35.412217 IP (tos 0x0, ttl 64, id 20409, offset 0, flags [DF], proto TCP (6), length 40)