|
Lines 465-480
Link Here
|
| 465 |
if (in_localip(dest) || m->m_flags & M_FASTFWD_OURS) { |
465 |
if (in_localip(dest) || m->m_flags & M_FASTFWD_OURS) { |
| 466 |
#endif /* IPFIREWALL_FORWARD */ |
466 |
#endif /* IPFIREWALL_FORWARD */ |
| 467 |
forwardlocal: |
467 |
forwardlocal: |
| 468 |
/* for ip_input */ |
|
|
| 469 |
m->m_flags |= M_FASTFWD_OURS; |
| 470 |
ip->ip_len = htons(ip->ip_len); |
| 471 |
ip->ip_off = htons(ip->ip_off); |
| 472 |
|
| 473 |
/* |
468 |
/* |
| 474 |
* Return packet for processing by ip_input() |
469 |
* Return packet for processing by ip_input() |
|
|
470 |
* Keep host byte order as excepted at ip_input's |
| 471 |
* "ours"-label |
| 475 |
*/ |
472 |
*/ |
|
|
473 |
m->m_flags |= M_FASTFWD_OURS; |
| 476 |
if (ro.ro_rt) |
474 |
if (ro.ro_rt) |
| 477 |
RTFREE(ro.ro_rt); |
475 |
RTFREE(ro.ro_rt); |
|
|
476 |
|
| 478 |
return 0; |
477 |
return 0; |
| 479 |
} |
478 |
} |
| 480 |
/* |
479 |
/* |