X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/545a67f69a82f7e2a1704215185482a5422cc18f..f991a6948dbffc495c7877c404be2d5d4903ea1e:/tcpdump.c diff --git a/tcpdump.c b/tcpdump.c index 282d44c9..5598ec28 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -1115,8 +1115,8 @@ main(int argc, char **argv) ndo->ndo_packettype = PT_PGM_ZMTP1; else if (ascii_strcasecmp(optarg, "lmp") == 0) ndo->ndo_packettype = PT_LMP; - else if (strcasecmp(optarg, "resp") == 0) - ndo->ndo_packettype = PT_RESP; + else if (ascii_strcasecmp(optarg, "resp") == 0) + ndo->ndo_packettype = PT_RESP; else error("unknown packet type `%s'", optarg); break;