X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/59d37c7ec5a7ce949db07d50594cca68fa724443..HEAD:/print-eigrp.c diff --git a/print-eigrp.c b/print-eigrp.c index d4eced42..47bbdce1 100644 --- a/print-eigrp.c +++ b/print-eigrp.c @@ -23,9 +23,7 @@ * RFC 7868 */ -#ifdef HAVE_CONFIG_H #include -#endif #include "netdissect-stdinc.h" @@ -279,7 +277,7 @@ eigrp_print(netdissect_options *ndo, const u_char *pptr, u_int len) tptr+=sizeof(struct eigrp_common_header); - while(tlen>0) { + while(tlen != 0) { if (tlen < sizeof(struct eigrp_tlv_header)) { ND_PRINT("\n\t (only %u bytes of data)", tlen); goto invalid;