-/* $OpenBSD: pf.c,v 1.1185 2023/09/07 09:59:43 sashan Exp $ */
+/* $OpenBSD: pf.c,v 1.1186 2023/09/08 13:40:52 naddy Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
(r->rule_flag & PFRULE_STATESLOPPY) == 0 &&
ctx->icmp_dir != PF_IN),
TAILQ_NEXT(r, entries));
- /* icmp packet must match existing state */
- PF_TEST_ATTRIB(r->keep_state && ctx->state_icmp &&
- (r->rule_flag & PFRULE_STATESLOPPY) == 0,
- TAILQ_NEXT(r, entries));
break;
case IPPROTO_ICMPV6:
ctx->icmp_dir != PF_IN &&
ctx->icmptype != ND_NEIGHBOR_ADVERT),
TAILQ_NEXT(r, entries));
- /* icmp packet must match existing state */
- PF_TEST_ATTRIB(r->keep_state && ctx->state_icmp &&
- (r->rule_flag & PFRULE_STATESLOPPY) == 0,
- TAILQ_NEXT(r, entries));
break;
default: