FreeBSD Bugzilla – Attachment 212336 Details for
Bug 240650
ipfw(8): Check for IPv4 in add_src() and add_dat, don't assume !IPv6 is IPv4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the IPFW "any" identifier
ipfw_fix_any2.patch (text/plain), 732 bytes, created by
Neel Chauhan
on 2020-03-11 15:32:03 UTC
(
hide
)
Description:
Patch to fix the IPFW "any" identifier
Filename:
MIME Type:
Creator:
Neel Chauhan
Created:
2020-03-11 15:32:03 UTC
Size:
732 bytes
patch
obsolete
>Index: ipfw2.c >=================================================================== >--- ipfw2.c (revision 358869) >+++ ipfw2.c (working copy) >@@ -3720,7 +3720,7 @@ > else if (proto == IPPROTO_IP || strcmp(av, "me") == 0 || > inet_pton(AF_INET, host, &a) == 1) > ret = add_srcip(cmd, av, cblen, tstate); >- else if (ret == NULL && strcmp(av, "any") != 0) >+ else if (ret == NULL && strcmp(av, "any") == 0) > ret = cmd; > > return ret; >@@ -3750,7 +3750,7 @@ > else if (proto == IPPROTO_IP || strcmp(av, "me") == 0 || > inet_pton(AF_INET, host, &a) == 1) > ret = add_dstip(cmd, av, cblen, tstate); >- else if (ret == NULL && strcmp(av, "any") != 0) >+ else if (ret == NULL && strcmp(av, "any") == 0) > ret = cmd; > > return ret;
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 240650
:
207582
|
207583
|
207584
| 212336