pf: fix NAT action regression in 18af3384c #223

This commit is contained in:
Franco Fichtner 2024-11-26 10:21:05 +01:00
parent cfe989733d
commit e2912ba47a

View file

@ -4742,7 +4742,7 @@ pf_test_rule(struct pf_krule **rm, struct pf_kstate **sm, struct pfi_kkif *kif,
KASSERT(nk != NULL, ("%s: null nk", __func__));
if (nr->log) {
PFLOG_PACKET(kif, m, af, PF_PASS, PFRES_MATCH, nr, a,
PFLOG_PACKET(kif, m, af, nr->action, PFRES_MATCH, nr, a,
ruleset, pd, 1);
}