summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-11-06 15:02:12 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-11-06 15:02:12 +0000
commit5487d12b38ebe9c17ac42dfbbba2da4bd9b9768c (patch)
tree7db4e08c81e952fe523e70a353003c1ed22c043a /sbin/pfctl/pfctl.c
parent68be7736a35d3972899481a6c2e593a5ee8eb7f5 (diff)
KNF
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r--sbin/pfctl/pfctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index 4728bee7f91..f69649c84d4 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.190 2003/10/02 17:01:16 mcbride Exp $ */
+/* $OpenBSD: pfctl.c,v 1.191 2003/11/06 15:01:30 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -870,7 +870,7 @@ pfctl_add_rule(struct pfctl *pf, struct pf_rule *r)
if (pfctl_add_pool(pf, &r->rpool, r->af))
return (1);
pr.ticket = pfctl_get_ticket(pf->trans, rs_num, pf->anchor,
- pf->ruleset);
+ pf->ruleset);
pr.pool_ticket = pf->paddr.ticket;
memcpy(&pr.rule, r, sizeof(pr.rule));
if (ioctl(pf->dev, DIOCADDRULE, &pr))
@@ -927,7 +927,7 @@ pfctl_rules(int dev, char *filename, int opts, char *anchorname,
t = trans;
osize = t->pfrb_size;
}
-
+
memset(&pa, 0, sizeof(pa));
memset(&pf, 0, sizeof(pf));
memset(&trs, 0, sizeof(trs));