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

"Alexander V. Chernikov" <[email protected]> Sat, 12 Dec 2020 01:05:32 +0000 (UTC)
Newsgroups gmane.os.freebsd.devel.cvs
Message-ID <202012120105.0BC15Wte014296__25335.7304305368$1607735140$gmane$org@repo.freebsd.org>
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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"