X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/74e6075a69453cb64418969ae16728e3063a9bae..6f531302736fa22264dce423234deeb4d5a4fed6:/tcpdump.c diff --git a/tcpdump.c b/tcpdump.c index 1a15d3c5..a44baa29 100644 --- 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;