summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-01-27 19:37:47 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-01-27 19:37:47 +0000
commit25f4f7620bad6bffd653ae5403d1bce93eef0dd3 (patch)
tree0bcee3a8b601ccc0808817732329c3209233a3f6 /sbin/pfctl
parentef2d87c55d801373b544cc713af5f0fa49cefef8 (diff)
bit KNF
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl_qstats.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/pfctl/pfctl_qstats.c b/sbin/pfctl/pfctl_qstats.c
index 5aea29a1502..4e347537d15 100644
--- a/sbin/pfctl/pfctl_qstats.c
+++ b/sbin/pfctl/pfctl_qstats.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_qstats.c,v 1.11 2003/01/24 11:20:46 henning Exp $ */
+/* $OpenBSD: pfctl_qstats.c,v 1.12 2003/01/27 19:37:46 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer
@@ -176,13 +176,13 @@ pfctl_insert_altq_node(struct pf_altq_node **root,
if (*root == NULL)
*root = node;
else if (!altq.parent[0]) {
- struct pf_altq_node *prev = *root;
+ struct pf_altq_node *prev = *root;
while (prev->next != NULL)
prev = prev->next;
prev->next = node;
} else {
- struct pf_altq_node *parent;
+ struct pf_altq_node *parent;
parent = pfctl_find_altq_node(*root, altq.parent, altq.ifname);
if (parent == NULL)
@@ -321,7 +321,7 @@ void
pfctl_free_altq_node(struct pf_altq_node *node)
{
while (node != NULL) {
- struct pf_altq_node *prev;
+ struct pf_altq_node *prev;
if (node->children != NULL)
pfctl_free_altq_node(node->children);