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
This commit is contained in:
parent
0f6766f3da
commit
173de0f9cc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user