summaryrefslogtreecommitdiff
path: root/print-ptp.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-29 14:54:06 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-29 15:40:04 +0100
commitcd0857c3b1d14425e3df7e322d7a7fe7db200eef (patch)
treecc72998bdf9e43926a1ee816e453126583d9d521 /print-ptp.c
parent0c4c8c7818eec34f9b23db9fc2c10dbc6858e04f (diff)
downloadtcpdump-cd0857c3b1d14425e3df7e322d7a7fe7db200eef.tar.gz
PTP: Fix the "not implemented" message for version 1
This avoids: PTPv1ptp version 1: not implemented
Diffstat (limited to 'print-ptp.c')
-rw-r--r--print-ptp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ptp.c b/print-ptp.c
index 27a96438..71a82042 100644
--- a/print-ptp.c
+++ b/print-ptp.c
@@ -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)