From: Francois-Xavier Le Bail Date: Fri, 16 Aug 2024 14:54:38 +0000 (+0200) Subject: PPP: Fix the output X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/4ec25d224e9eba0a9184f4a8cc8510a62d58d8ef PPP: Fix the output This avoids ': :' in the output. Update a test output accordingly. --- diff --git a/print-ppp.c b/print-ppp.c index fbaa3258..5b15c567 100644 --- a/print-ppp.c +++ b/print-ppp.c @@ -695,7 +695,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)); diff --git a/tests/pptp-v.out b/tests/pptp-v.out index a1e3df9c..2e96e6aa 100644 --- a/tests/pptp-v.out +++ b/tests/pptp-v.out @@ -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)