]> The Tcpdump Group git mirrors - tcpdump/commitdiff
PTP: Fix the "not implemented" message for version 1
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 29 Feb 2020 13:54:06 +0000 (14:54 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 29 Feb 2020 14:40:04 +0000 (15:40 +0100)
This avoids: PTPv1ptp version 1: not implemented

print-ptp.c

index 27a964387b1f0d5ea772885f8d1df0ae3a80c622..71a820427926553e46dcbfa37d775091ae67646f 100644 (file)
@@ -337,7 +337,7 @@ print_field(netdissect_options *ndo, const char *st, uint32_t flen,
 static void
 ptp_print_1(netdissect_options *ndo)
 {
-    ND_PRINT("ptp version 1: not implemented\n");
+    ND_PRINT(" (not implemented)");
 }
 
 static void ptp_print_2(netdissect_options *ndo, const u_char *bp, u_int length)