ipfw(4): make O_IPVER/ipversion match IPv4 or 6, not just IPv4.
Submitted by: Neel Chauhan <neel AT neelc DOT org> Reviewed by: Lutz Donnerhacke MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25227
This commit is contained in:
parent
133b1f1461
commit
1388cfe1b5
@ -2225,7 +2225,7 @@ do { \
|
||||
break;
|
||||
|
||||
case O_IPVER:
|
||||
match = (is_ipv4 &&
|
||||
match = ((is_ipv4 || is_ipv6) &&
|
||||
cmd->arg1 == ip->ip_v);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user