Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110610263
D24403.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
557 B
Referenced Files
None
Subscribers
None
D24403.diff
View Options
Index: head/sbin/ipfw/ipv6.c
===================================================================
--- head/sbin/ipfw/ipv6.c
+++ head/sbin/ipfw/ipv6.c
@@ -342,13 +342,8 @@
if (strcmp(av, "any") == 0)
return (1);
-
- if (strcmp(av, "me") == 0) { /* Set the data for "me" opt*/
- cmd->o.len |= F_INSN_SIZE(ipfw_insn);
- return (1);
- }
-
- if (strcmp(av, "me6") == 0) { /* Set the data for "me" opt*/
+ /* Set the data for "me" opt */
+ if (strcmp(av, "me") == 0 || strcmp(av, "me6") == 0) {
cmd->o.len |= F_INSN_SIZE(ipfw_insn);
return (1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 21, 9:04 PM (1 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16761288
Default Alt Text
D24403.diff (557 B)
Attached To
Mode
D24403: ipfw(8): In fill_ip6(), use a single statement for both "me" and "me6"
Attached
Detach File
Event Timeline
Log In to Comment