diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-02 23:22:08 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-02-02 23:22:08 +0000 |
commit | 26be785d04af1aeaf90823944abd379981199464 (patch) | |
tree | e499993bdce2ba970b2861d8bfc67009abba8b38 /sbin/pfctl/parse.y | |
parent | 2c039d6a4fb06bdf7f7042dec16bd51dfe0d1fa2 (diff) |
there is no need to pass opts to parse_rules explicitely; it's passed as
part of the struct pfctl.
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r-- | sbin/pfctl/parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 18fc4c5069f..3d6c01a1ea3 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.301 2003/01/27 19:08:27 deraadt Exp $ */ +/* $OpenBSD: parse.y,v 1.302 2003/02/02 23:22:07 henning Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -3873,7 +3873,7 @@ top: } int -parse_rules(FILE *input, struct pfctl *xpf, int opts) +parse_rules(FILE *input, struct pfctl *xpf) { struct sym *sym; @@ -3885,7 +3885,7 @@ parse_rules(FILE *input, struct pfctl *xpf, int opts) yyparse(); /* Check which macros have not been used. */ - if (opts & PF_OPT_VERBOSE2) { + if (pf->opts & PF_OPT_VERBOSE2) { for (sym = symhead; sym; sym = sym->next) if (!sym->used) fprintf(stderr, "warning: macro '%s' not " |