]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-radius.c
Avoid -E and -M options inconsistencies with no libcrypto
[tcpdump] / print-radius.c
index 76a9923a8fa7506a91a103e7b3eddefa8e0a55bc..598db8e6dd02ebb3ce1a086c7319da9ea46446fa 100644 (file)
@@ -82,9 +82,7 @@
  * TODO: Among other things to print ok MacIntosh and Vendor values
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#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);