https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242318
Bug ID: 242318
Summary: ipfw - option 'ipversion' match only IPv4 packets
Product: Documentation
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Manual Pages
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 209546
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209546&action=edit
replace IP by IPv4
option 'ipversion' match only IPv4 packets:
sys/netpfil/ipfw/ip_fw2.c:
...
2207 case O_IPVER:
2208 match = (is_ipv4 &&
2209 cmd->arg1 == ip->ip_v);
2210 break;
As others options (iptos, ipid ...), replace IP by IPv4:
ipversion ver
Matches IP packets whose IP version field is ver.
become
ipversion ver
Matches IPv4 packets whose IP version field is ver.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"