]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-pflog.c
pflog: Fix the minimum header length
[tcpdump] / print-pflog.c
index 9424c9e070da945ae20c9b070479571537559ac8..b8dc6dbc3d8abc16ea333b7872b93a3a61021027 100644 (file)
@@ -142,7 +142,6 @@ pflog_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h,
                return;
        }
 
-#define MIN_PFLOG_HDRLEN       45
        hdr = (const struct pfloghdr *)p;
        hdrlen = GET_U_1(hdr->length);
        if (hdrlen < MIN_PFLOG_HDRLEN) {