]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-nflog.c
Add EXTRACT_ calls.
[tcpdump] / print-nflog.c
index 0eefd342a45c7b1035005f0c1b58b583c1b61d26..622743bfa80a26c5d80a33bce0db96ae4258c2f1 100644 (file)
@@ -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;
        }