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:
Boris Lytochkin
2025-11-18 13:31:56 +03:00
committed by Andrey V. Elsukov
parent c0a38339fe
commit 8012c61bef
+2 -2
View File
@@ -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;