summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandr Nedvedicky <sashan@cvs.openbsd.org>2017-11-14 22:17:42 +0000
committerAlexandr Nedvedicky <sashan@cvs.openbsd.org>2017-11-14 22:17:42 +0000
commit1ea14b5f2f385866b76f61f2be7b2df81e37ea9b (patch)
tree346b32a39962bf8a40c3efb72f846da7fa13a477
parent4af88cb7be3bba6f20fa03358064df3b31803faa (diff)
- nested anchors vs. pfctl/parse.y
bug reported and fix tested by Leonardo Guardati OK bluhm@
-rw-r--r--sbin/pfctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index c170e60d2a0..e1dcfbc382f 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.664 2017/11/13 11:30:11 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.665 2017/11/14 22:17:41 sashan Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -4133,7 +4133,7 @@ process_tabledef(char *name, struct table_opts *opts, int popts)
&opts->init_nodes);
if (!(pf->opts & PF_OPT_NOACTION) &&
pfctl_define_table(name, opts->flags, opts->init_addr,
- pf->anchor->name, &ab, pf->anchor->ruleset.tticket)) {
+ pf->anchor->path, &ab, pf->anchor->ruleset.tticket)) {
yyerror("cannot define table %s: %s", name,
pfr_strerror(errno));
goto _error;