diff options
author | bz <bz@FreeBSD.org> | 2009-06-22 09:24:46 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-06-22 09:24:46 +0000 |
commit | 71e36df28b389b464418ca17444d125311b94225 (patch) | |
tree | ba03b6a72b892967fbba73f9c8d4f065b3bf2796 /sys/netinet | |
parent | 4dc742f489b3b14470cc448c4407a947ead5de0e (diff) | |
download | FreeBSD-src-71e36df28b389b464418ca17444d125311b94225.zip FreeBSD-src-71e36df28b389b464418ca17444d125311b94225.tar.gz |
Remove a hack from r186086 so that IPsec via loopback routes continued
working. It was targeted for stable/7 compatibility and actually never
did anything in HEAD.
Reminded by: rwatson
X-MFC after: never
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/in_pcb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index a0d6f6d..252c7fb 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -705,10 +705,6 @@ in_pcbladdr(struct inpcb *inp, struct in_addr *faddr, struct in_addr *laddr, ia = ifatoia(ifa_ifwithnet(sintosa(&sain))); if (cred == NULL || !prison_flag(cred, PR_IP4)) { -#if __FreeBSD_version < 800000 - if (ia == NULL) - ia = (struct in_ifaddr *)sro.ro_rt->rt_ifa; -#endif if (ia == NULL) { error = ENETUNREACH; goto done; |