X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/790427e0cf2d0a9fd1d0eb6ac714e2428b903c8c..refs/heads/coverity_scan:/print-radius.c diff --git a/print-radius.c b/print-radius.c index 76a9923a..598db8e6 100644 --- a/print-radius.c +++ b/print-radius.c @@ -82,9 +82,7 @@ * TODO: Among other things to print ok MacIntosh and Vendor values */ -#ifdef HAVE_CONFIG_H #include -#endif #include "netdissect-stdinc.h" @@ -1317,7 +1315,7 @@ radius_attrs_print(netdissect_options *ndo, const char *attr_string; uint8_t type, len; - while (length > 0) { + while (length != 0) { ND_ICHECK_U(length, <, 2); type = GET_U_1(rad_attr->type);