ipfw: fix lookup dst-ip opcode
Opcode handling should not fall through to the LOOKUP_DSCP type. Reviewed by: melifaro Obtained from: Yandex LLC MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D53775
This commit is contained in:
committed by
Andrey V. Elsukov
parent
c0a38339fe
commit
8012c61bef
@@ -2120,8 +2120,8 @@ do { \
|
||||
pkey = &args->f_id.dst_ip6;
|
||||
else
|
||||
pkey = &args->f_id.src_ip6;
|
||||
} else /* only for L3 */
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case LOOKUP_DSCP:
|
||||
if (is_ipv4)
|
||||
key = ip->ip_tos >> 2;
|
||||
|
||||
Reference in New Issue
Block a user