]> The Tcpdump Group git mirrors - tcpdump/commitdiff
pflog: use BSD socket AF numbers, not RFC 1700 AF numbers.
authorGuy Harris <[email protected]>
Mon, 31 Jan 2022 02:13:48 +0000 (18:13 -0800)
committerGuy Harris <[email protected]>
Mon, 31 Jan 2022 02:13:48 +0000 (18:13 -0800)
print-pflog.c

index c6ed1c1966750cacf56a01e1bb341d5bb17d4a86..1cffbf6bf8308e658d92b1532d4e17731d1e23d8 100644 (file)
@@ -176,7 +176,7 @@ pflog_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h,
                 *
                 * Hopefully, there isn't.
                 */
-               case AFNUM_INET:
+               case BSD_AFNUM_INET:
                        ip_print(ndo, p, length);
                        break;