diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-12-07 21:16:27 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-12-07 21:16:27 +0000 |
commit | a44643e860f66cf0af3e1f45e282e14f632a08ad (patch) | |
tree | 95b131a13b62b4397642b1f5b07a9217c008a8ac /sbin/pfctl/parse.y | |
parent | 55305551ca42dfb572aa9af41d471ffb83310817 (diff) |
KNF
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r-- | sbin/pfctl/parse.y | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 8cc00f31135..798948761d9 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.241 2002/12/07 20:25:40 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.242 2002/12/07 21:16:26 henning Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -54,17 +54,18 @@ #include "pfctl_parser.h" #include "pfctl_altq.h" -static struct pfctl *pf = NULL; -static FILE *fin = NULL; -static int debug = 0; -static int lineno = 1; -static int errors = 0; -static int rulestate = 0; -static u_int16_t returnicmpdefault = (ICMP_UNREACH << 8) | ICMP_UNREACH_PORT; -static u_int16_t returnicmp6default = (ICMP6_DST_UNREACH << 8) | - ICMP6_DST_UNREACH_NOPORT; -static int blockpolicy = PFRULE_DROP; -static int require_order = 1; +static struct pfctl *pf = NULL; +static FILE *fin = NULL; +static int debug = 0; +static int lineno = 1; +static int errors = 0; +static int rulestate = 0; +static u_int16_t returnicmpdefault = + (ICMP_UNREACH << 8) | ICMP_UNREACH_PORT; +static u_int16_t returnicmp6default = + (ICMP6_DST_UNREACH << 8) | ICMP6_DST_UNREACH_NOPORT; +static int blockpolicy = PFRULE_DROP; +static int require_order = 1; enum { PFCTL_STATE_NONE = 0, |