FreeBSD Bugzilla – Attachment 39067 Details for
Bug 61685
[patch] ipnat + dummynet on same interface broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ip_input.c.patch
ip_input.c.patch (text/plain), 731 bytes, created by
mk
on 2004-01-21 20:10:10 UTC
(
hide
)
Description:
ip_input.c.patch
Filename:
MIME Type:
Creator:
mk
Created:
2004-01-21 20:10:10 UTC
Size:
731 bytes
patch
obsolete
>--- sys/netinet/ip_input.c.orig Tue Jan 20 20:53:51 2004 >+++ sys/netinet/ip_input.c Tue Jan 20 21:00:59 2004 >@@ -340,7 +340,7 @@ > if (args.rule) { /* dummynet already filtered us */ > ip = mtod(m, struct ip *); > hlen = IP_VHL_HL(ip->ip_vhl) << 2; >- goto iphack ; >+ goto ipfw; /* skip ipfilter now (already passed it)! */ > } > > ipstat.ips_total++; >@@ -451,7 +451,6 @@ > * - Encapsulate: put it in another IP and send out. <unimp.> > */ > >-iphack: > /* > * Check if we want to allow this packet to be processed. > * Consider it to be bad if not. >@@ -463,6 +462,7 @@ > return; > ip = mtod(m = m1, struct ip *); > } >+ipfw: > if (fw_enable && IPFW_LOADED) { > /* > * If we've been forwarded from the output side, then
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 61685
: 39067