]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nflog.c
Regenerate config files.
[tcpdump] / print-nflog.c
index 2a42f537c78da879cf204235ba72cebf4af95b45..41cbf788fd9c00437e624fa13552c7c8f2272dc2 100644 (file)
@@ -25,6 +25,8 @@
  * DAMAGE.
  */
 
+/* \summary: DLT_NFLOG printer */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -80,7 +82,7 @@ nflog_if_print(netdissect_options *ndo,
                return h_size;
        }
 
-       if (!(hdr->nflog_version) == 0) {
+       if (hdr->nflog_version != 0) {
                ND_PRINT((ndo, "version %u (unknown)", hdr->nflog_version));
                return h_size;
        }