X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/78651639891de4a150f23ab635ef940f6ee22d8e..56a7c968aa852a689d891c5bbd648c009c24fa2e:/print-arp.c diff --git a/print-arp.c b/print-arp.c index 67bee441..950c3b24 100644 --- a/print-arp.c +++ b/print-arp.c @@ -21,9 +21,7 @@ /* \summary: Address Resolution Protocol (ARP) printer */ -#ifdef HAVE_CONFIG_H #include -#endif #include "netdissect-stdinc.h" @@ -179,7 +177,7 @@ struct atmarp_pkthdr { static int isnonzero(netdissect_options *ndo, const u_char *a, size_t len) { - while (len > 0) { + while (len != 0) { if (GET_U_1(a) != 0) return (1); a++;