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: b...@freebsd.org
          Reporter: d...@bsdsx.fr
                CC: d...@freebsd.org

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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to