diff options
author | Alexandr Nedvedicky <sashan@cvs.openbsd.org> | 2017-09-05 22:15:33 +0000 |
---|---|---|
committer | Alexandr Nedvedicky <sashan@cvs.openbsd.org> | 2017-09-05 22:15:33 +0000 |
commit | 301c85d3f85bfe5b24412bf721697dc0a01191fe (patch) | |
tree | e56f038d51fef871d136ef7d764e588128ff1917 /sbin | |
parent | 63000457f74bb74ddc4934972b060c06da88c892 (diff) |
- split pf_find_or_create_ruleset() to smaller chunks.
tested by Hrvoje
OK mpi@, OK bluhm@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 699f5dc83d3..94d6ac75210 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.348 2017/08/11 22:30:38 benno Exp $ */ +/* $OpenBSD: pfctl.c,v 1.349 2017/09/05 22:15:32 sashan Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1572,7 +1572,6 @@ pfctl_rules(int dev, char *filename, int opts, int optimize, RB_INIT(&pf_anchors); memset(&pf_main_anchor, 0, sizeof(pf_main_anchor)); pf_init_ruleset(&pf_main_anchor.ruleset); - pf_main_anchor.ruleset.anchor = &pf_main_anchor; if (trans == NULL) { bzero(&buf, sizeof(buf)); buf.pfrb_type = PFRB_TRANS; |