| version 1.102, 2000/02/20 00:56:39 |
version 1.103, 2000/03/01 12:49:33 |
| Line 1403 ip_forward(m, srcrt) |
|
| Line 1403 ip_forward(m, srcrt) |
|
| } |
} |
| |
|
| #ifdef IPSEC |
#ifdef IPSEC |
| m->m_pkthdr.rcvif = NULL; |
/* Don't lookup socket in forwading case */ |
| #endif /*IPSEC*/ |
ipsec_setsocket(m, NULL); |
| |
#endif |
| error = ip_output(m, (struct mbuf *)0, &ipforward_rt, |
error = ip_output(m, (struct mbuf *)0, &ipforward_rt, |
| (IP_FORWARDING | (ip_directedbcast ? IP_ALLOWBROADCAST : 0)), 0); |
(IP_FORWARDING | (ip_directedbcast ? IP_ALLOWBROADCAST : 0)), 0); |
| if (error) |
if (error) |