summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-01-09 17:59:24 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-01-09 17:59:24 +0000
commit1bff43d761d4f96278ef509e47ac0ede7d5622ff (patch)
tree5dde97c0a8e92ecd0d41bc16a1c38f79c83bc9f6 /sbin/pfctl
parent7b0429e18a4c4c461e050ddf80b34b4d48b57560 (diff)
minor KNF
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 085d2d88498..ccd02190d68 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.283 2003/01/09 10:40:44 cedric Exp $ */
+/* $OpenBSD: parse.y,v 1.284 2003/01/09 17:59:23 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -1157,7 +1157,7 @@ pfrule : action dir logquick interface route af proto fromto
decide_address_family($8.dst.host, &r.af);
if ($5.rt) {
- if(!r.direction) {
+ if (!r.direction) {
yyerror("direction must be explicit "
"with rules that specify routing");
YYERROR;
@@ -3074,7 +3074,7 @@ expand_altq(struct pf_altq *a, struct node_if *interfaces,
FREE_LIST(struct node_if, interfaces);
FREE_LIST(struct node_queue, nqueues);
- return(errs);
+ return (errs);
}
int
@@ -3138,7 +3138,7 @@ expand_queue(struct pf_altq *a, struct node_queue *nqueues,
if (!eval_pfqueue(pf, a, bwspec.bw_absolute,
bwspec.bw_percent))
- if(!pfctl_add_altq(pf, a))
+ if (!pfctl_add_altq(pf, a))
added++;
if ((pf->opts & PF_OPT_VERBOSE) && found == 1) {