X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/68a0f9980d04dc89b2fb29e5b721ad7606d9733b..4fe8841dce9ba05e8b36aa97b02190ac81ccafd5:/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;