FreeBSD Bugzilla – Attachment 9204 Details for
Bug 18938
ipnat fails on dynamically created interfaces (e.g. tun)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 757 bytes, created by
vons
on 2000-06-01 12:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
vons
Created:
2000-06-01 12:20:01 UTC
Size:
757 bytes
patch
obsolete
>*** ip_nat.c.org Fri May 19 17:52:29 2000 >--- ip_nat.c Thu Jun 1 11:45:53 2000 >*************** >*** 1353,1358 **** >--- 1353,1365 ---- > hv = NAT_HASH_FN(iph, ipf_natrules_sz); > for (np = nat_rules[hv]; np; np = np->in_mnext) > { >+ if (np->in_ifp == (void*)-1) >+ { >+ np->in_ifp = (void *)GETUNIT(np->in_ifname); >+ if (!np->in_ifp) >+ np->in_ifp = (void *)-1; >+ } >+ > if ((np->in_ifp == ifp) && np->in_space && > (!(np->in_flags & IPN_RF) || > (np->in_flags & nflags)) && >-----8<-----
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 18938
: 9204