]> The Tcpdump Group git mirrors - tcpdump/commitdiff
PPP: Fix the output
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 16 Aug 2024 14:54:38 +0000 (16:54 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 16 Aug 2024 15:02:01 +0000 (17:02 +0200)
This avoids ': :' in the output.

Update a test output accordingly.

print-ppp.c
tests/pptp-v.out

index fbaa3258c74a0cef7e1fa3219d092450f6842489..5b15c567ef703759b6c723c0fc22fc958a2c6734 100644 (file)
@@ -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));
index a1e3df9c5c0c6f216153ca51d3c4aae19091022b..2e96e6aa81140350bd9149f5c3bfd20d924d6e77 100644 (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)