X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/11f73ad248fa22461ca040baa8dc94b864509efa..f152c1268f28fc84d15d364b742f500e12374b33:/print-nflog.c diff --git a/print-nflog.c b/print-nflog.c index 2a42f537..41cbf788 100644 --- a/print-nflog.c +++ b/print-nflog.c @@ -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; }