Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149166212
D24025.1789616599.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
699 B
Referenced Files
None
Subscribers
None
D24025.1789616599.diff
View Options
Index: ipfw2.c
===================================================================
--- ipfw2.c
+++ ipfw2.c
@@ -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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 17, 3:43 AM (13 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29718987
Default Alt Text
D24025.1789616599.diff (699 B)
Attached To
Mode
D24025: ipfw(8): In add_src() and add_dst(), fix the "any" identifier post-r358858
Attached
Detach File
Event Timeline
Log In to Comment