svn commit: r368572 - head/sys/netpfil/ipfw

Alexander V. Chernikov melifaro at FreeBSD.org
Sat Dec 12 01:05:32 UTC 2020


Author: melifaro
Date: Sat Dec 12 01:05:31 2020
New Revision: 368572
URL: https://svnweb.freebsd.org/changeset/base/368572

Log:
  Fix NOINET6 build broken by r368571.

Modified:
  head/sys/netpfil/ipfw/ip_fw_table_algo.c

Modified: head/sys/netpfil/ipfw/ip_fw_table_algo.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_table_algo.c	Fri Dec 11 23:57:30 2020	(r368571)
+++ head/sys/netpfil/ipfw/ip_fw_table_algo.c	Sat Dec 12 01:05:31 2020	(r368572)
@@ -3920,7 +3920,7 @@ ta_dump_kfib_tentry_int(int family, const struct rtent
 		tent->v.kidx = 0;
 	}
 #endif
-#ifdef INET
+#ifdef INET6
 	if (family == AF_INET6) {
 		rt_get_inet6_prefix_plen(rt, &tent->k.addr6, &plen, &scopeid);
 		tent->masklen = plen;


More information about the svn-src-head mailing list