aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorPouria Mousavizadeh Tehrani <pouria@FreeBSD.org>2026-04-11 12:58:28 +0000
committerPouria Mousavizadeh Tehrani <pouria@FreeBSD.org>2026-04-14 22:11:18 +0000
commitbf41d86df0d9dc4a1342c579f4e72db3c66b3443 (patch)
treebd32fbf466d96e39bc52885b4202dd2e3ee4393d /sys/netinet
parent956acdce0505ca8028d287d3b44789c623c8f37e (diff)
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_fastfwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c
index 6001ce781bc8..d95cca490a5d 100644
--- a/sys/netinet/ip_fastfwd.c
+++ b/sys/netinet/ip_fastfwd.c
@@ -293,7 +293,7 @@ ip_tryforward(struct mbuf *m)
/*
* Is it for a local address on this host?
*/
- if (in_localip(ip->ip_dst))
+ if (in_localip_fib(ip->ip_dst, M_GETFIB(m)))
return m;
IPSTAT_INC(ips_total);
@@ -328,7 +328,7 @@ ip_tryforward(struct mbuf *m)
/*
* Is it now for a local address on this host?
*/
- if (in_localip(dest))
+ if (in_localip_fib(dest, M_GETFIB(m)))
goto forwardlocal;
/*
* Go on with new destination address