summaryrefslogtreecommitdiff
path: root/sys/net/pf_ioctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-12-01 19:56:39 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-12-01 19:56:39 +0000
commitc0d650d85d62b400e831feb646b7c19277f49ff3 (patch)
tree81b7a9e4b973070eebecf5c187c0bf0d5dace30c /sys/net/pf_ioctl.c
parent2ec2dde444d4a6fdb266bc942ca402d62e1e6b3e (diff)
KNF
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r--sys/net/pf_ioctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 1db3e5fee8f..eaab678741c 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.21 2002/12/01 19:54:32 mcbride Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.22 2002/12/01 19:56:38 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -470,7 +470,7 @@ pf_compare_pooladdrs(struct pf_pooladdr *a, struct pf_pooladdr *b,
void
pf_mv_pool(struct pf_palist *poola, struct pf_palist *poolb)
{
- struct pf_pooladdr *mv_pool_pa;
+ struct pf_pooladdr *mv_pool_pa;
while ((mv_pool_pa = TAILQ_FIRST(poola)) != NULL) {
TAILQ_REMOVE(poola, mv_pool_pa, entries);
@@ -494,14 +494,14 @@ pf_empty_pool(struct pf_palist *poola)
}
void
-pf_rm_rule(struct pf_rulequeue *rulequeue, struct pf_rule *rule)
+pf_rm_rule(struct pf_rulequeue *rulequeue, struct pf_rule *rule)
{
pf_dynaddr_remove(&rule->src.addr);
pf_dynaddr_remove(&rule->dst.addr);
pf_empty_pool(&rule->rt_pool.list);
if (rulequeue != NULL)
TAILQ_REMOVE(rulequeue, rule, entries);
- pool_put(&pf_rule_pl, rule);
+ pool_put(&pf_rule_pl, rule);
}
void
@@ -512,7 +512,7 @@ pf_rm_nat(struct pf_natqueue *natqueue, struct pf_nat *nat)
pf_empty_pool(&nat->rpool.list);
if (natqueue != NULL)
TAILQ_REMOVE(natqueue, nat, entries);
- pool_put(&pf_nat_pl, nat);
+ pool_put(&pf_nat_pl, nat);
}
void