aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2020-12-12 01:05:31 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2020-12-12 01:05:31 +0000
commit2616eaa3d9d90a6bb9a54480d7ac190aa2e6d7f5 (patch)
treec362e5b0b16525b443b8929088d6e01aa833d9d4
parent4451d8939c597b64650a0d574cffdc232324e673 (diff)
downloadsrc-2616eaa3d9d90a6bb9a54480d7ac190aa2e6d7f5.tar.gz
src-2616eaa3d9d90a6bb9a54480d7ac190aa2e6d7f5.zip
Fix NOINET6 build broken by r368571.
Notes
Notes: svn path=/head/; revision=368572
-rw-r--r--sys/netpfil/ipfw/ip_fw_table_algo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_table_algo.c b/sys/netpfil/ipfw/ip_fw_table_algo.c
index 864e96ed3388..e09a9eb2cba7 100644
--- a/sys/netpfil/ipfw/ip_fw_table_algo.c
+++ b/sys/netpfil/ipfw/ip_fw_table_algo.c
@@ -3920,7 +3920,7 @@ ta_dump_kfib_tentry_int(int family, const struct rtentry *rt,
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;