]> The Tcpdump Group git mirrors - libpcap/commitdiff
fix pcap-util.c 1206/head
authorheadshog <[email protected]>
Mon, 17 Jul 2023 15:38:50 +0000 (18:38 +0300)
committerheadshog <[email protected]>
Mon, 17 Jul 2023 15:38:50 +0000 (18:38 +0300)
pcap-util.c

index 1579a84deec25dfdb8ca72f774c699089bf143d7..962264ecccc4676aa31eb34008fdca13636d95dd 100644 (file)
@@ -344,7 +344,7 @@ swap_nflog_header(const struct pcap_pkthdr *hdr, u_char *buf)
        nflog_tlv_t *tlv;
        u_int caplen = hdr->caplen;
        u_int length = hdr->len;
-       uint16_t size;
+       u_int size;
 
        if (caplen < (u_int) sizeof(nflog_hdr_t) ||
            length < (u_int) sizeof(nflog_hdr_t)) {