aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2001-09-29 04:34:11 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2001-09-29 04:34:11 +0000
commitca925d9c17044d218daf631f3b733cb19fb36f69 (patch)
tree9043eb0a3862514449a171c6cb63e1c0ef78e293 /sys/netinet/ip_output.c
parent9a10980e2add22049acce9d4eaa56462f474d8ae (diff)
Notes
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r--sys/netinet/ip_output.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index 49e2c74b7fe5..71c7ad29193b 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -713,7 +713,8 @@ skip_ipsec:
* as the packet runs through ip_input() as
* it is done through a ISR.
*/
- TAILQ_FOREACH(ia, &in_ifaddrhead, ia_link) {
+ LIST_FOREACH(ia,
+ INADDR_HASH(dst->sin_addr.s_addr), ia_hash) {
/*
* If the addr to forward to is one
* of ours, we pretend to