summaryrefslogtreecommitdiff
path: root/sys/net/pf_ioctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-01-09 18:36:49 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-01-09 18:36:49 +0000
commit75ec7707f1884235335e22d487345f66e5f87a2a (patch)
tree52d0f69658d8a86821422c08a71bfa17b2e32fc2 /sys/net/pf_ioctl.c
parent7c834a600006fbb3cdcfb9ade2271b1f65b928d4 (diff)
minor KNF
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r--sys/net/pf_ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 9510391cff6..ca6b5080069 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.47 2003/01/09 15:58:35 dhartmei Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.48 2003/01/09 18:36:48 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -177,7 +177,7 @@ pf_get_pool(char *anchorname, char *rulesetname, u_int32_t ticket,
rule = TAILQ_NEXT(rule, entries);
}
if (rule == NULL)
- return(NULL);
+ return (NULL);
return (&rule->rpool);
}
@@ -217,7 +217,7 @@ pf_init_ruleset(struct pf_ruleset *ruleset)
int i;
memset(ruleset, 0, sizeof(struct pf_ruleset));
- for(i = 0; i < PF_RULESET_MAX; i++) {
+ for (i = 0; i < PF_RULESET_MAX; i++) {
TAILQ_INIT(&ruleset->rules[i].queues[0]);
TAILQ_INIT(&ruleset->rules[i].queues[1]);
ruleset->rules[i].active.ptr = &ruleset->rules[i].queues[0];