diff options
author | Alexandr Nedvedicky <sashan@cvs.openbsd.org> | 2017-05-20 22:56:44 +0000 |
---|---|---|
committer | Alexandr Nedvedicky <sashan@cvs.openbsd.org> | 2017-05-20 22:56:44 +0000 |
commit | 4488eb256005884b419ced62a62f392642899986 (patch) | |
tree | d0cf5d2980f699135c19b60c4c25a5b44309ef86 /sys/net | |
parent | 0cc3f9dbf0991b9310526227c92974b1d9a4a2f9 (diff) |
- fixes regression found by pf_forward test
O.K. bluhm@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 64d4417f4f0..d9b346aad39 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.1025 2017/05/19 10:43:05 rzalamena Exp $ */ +/* $OpenBSD: pf.c,v 1.1026 2017/05/20 22:56:43 sashan Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -3644,6 +3644,7 @@ pf_test_rule(struct pf_pdesc *pd, struct pf_rule **rm, struct pf_state **sm, ctx.rsm = rsm; ctx.th = &pd->hdr.tcp; ctx.act.rtableid = pd->rdomain; + ctx.tag = -1; SLIST_INIT(&ctx.rules); if (pd->dir == PF_IN && if_congested()) { |