FreeBSD Bugzilla – Attachment 46726 Details for
Bug 71652
rdr@pf doesnt work properly with fastforwarding
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
FASTFWD_OURS.byteorder.diff
FASTFWD_OURS.byteorder.diff (text/x-diff; charset="us-ascii"), 797 bytes, created by
Max Laier
on 2004-09-13 00:56:42 UTC
(
hide
)
Description:
FASTFWD_OURS.byteorder.diff
Filename:
MIME Type:
Creator:
Max Laier
Created:
2004-09-13 00:56:42 UTC
Size:
797 bytes
patch
obsolete
>Index: ip_fastfwd.c >=================================================================== >RCS file: /usr/store/mlaier/fcvs/src/sys/netinet/ip_fastfwd.c,v >retrieving revision 1.19 >diff -u -r1.19 ip_fastfwd.c >--- ip_fastfwd.c 27 Aug 2004 15:32:28 -0000 1.19 >+++ ip_fastfwd.c 12 Sep 2004 23:50:34 -0000 >@@ -465,16 +465,15 @@ > if (in_localip(dest) || m->m_flags & M_FASTFWD_OURS) { > #endif /* IPFIREWALL_FORWARD */ > forwardlocal: >- /* for ip_input */ >- m->m_flags |= M_FASTFWD_OURS; >- ip->ip_len = htons(ip->ip_len); >- ip->ip_off = htons(ip->ip_off); >- > /* > * Return packet for processing by ip_input() >+ * Keep host byte order as excepted at ip_input's >+ * "ours"-label > */ >+ m->m_flags |= M_FASTFWD_OURS; > if (ro.ro_rt) > RTFREE(ro.ro_rt); >+ > return 0; > } > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 71652
: 46726