summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-nflog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-nflog.c b/print-nflog.c
index 2a42f537..0eefd342 100644
--- a/print-nflog.c
+++ b/print-nflog.c
@@ -80,7 +80,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;
}