X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/39e332e70d48995195d271cabd459894e4713d64..9f957a5883cb4c5c99cefa71b42fc9d2d27d73e1:/print-nflog.c diff --git a/print-nflog.c b/print-nflog.c index 0eefd342..622743bf 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 @@ -75,7 +77,7 @@ nflog_if_print(netdissect_options *ndo, u_int caplen = h->caplen; u_int length = h->len; - if (caplen < (int) sizeof(nflog_hdr_t) || length < (int) sizeof(nflog_hdr_t)) { + if (caplen < sizeof(nflog_hdr_t) || length < sizeof(nflog_hdr_t)) { ND_PRINT((ndo, "[|nflog]")); return h_size; }