]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump.c
The ptp (precision time protocol) with UDP as the transport protocol.
[tcpdump] / tcpdump.c
index 1a15d3c5d8a772cfea8271f5ed326329e7a7878f..a44baa29ccadd709ff3e4960779e133f9a14dfbc 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -1782,6 +1782,8 @@ main(int argc, char **argv)
                                ndo->ndo_packettype = PT_LMP;
                        else if (ascii_strcasecmp(optarg, "resp") == 0)
                                ndo->ndo_packettype = PT_RESP;
+                       else if (ascii_strcasecmp(optarg, "ptp") == 0)
+                               ndo->ndo_packettype = PT_PTP;
                        else
                                error("unknown packet type `%s'", optarg);
                        break;