summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-11-19 17:37:39 +0000
committerhenning <henning@openbsd.org>2002-11-19 17:37:39 +0000
commit1f02a6a466d0f19a0386e8bb1c462e3fe6c56888 (patch)
treebe95334c8c2c2cf525e48d4097150286e7f4f218
parentrepair queuespec syntax glitch, theo agrees (diff)
downloadwireguard-openbsd-1f02a6a466d0f19a0386e8bb1c462e3fe6c56888.tar.xz
wireguard-openbsd-1f02a6a466d0f19a0386e8bb1c462e3fe6c56888.zip
altq interface spec should be printed as altq interface spec, not queue
-rw-r--r--sbin/pfctl/pfctl_altq.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
index c11130fa95c..833a7a70307 100644
--- a/sbin/pfctl/pfctl_altq.c
+++ b/sbin/pfctl/pfctl_altq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_altq.c,v 1.4 2002/11/18 23:20:43 deraadt Exp $ */
+/* $OpenBSD: pfctl_altq.c,v 1.5 2002/11/19 17:37:39 henning Exp $ */
/*
* Copyright (C) 2002
* Sony Computer Science Laboratories Inc. All rights reserved.
@@ -531,10 +531,7 @@ pfctl_print_altq_node(const struct pf_altq_node *node, unsigned level)
if (node == NULL)
return;
- if (node->altq.qname[0])
- print_altq(&node->altq, level);
- else
- print_queue(&node->altq, level);
+ print_altq(&node->altq, level);
if (node->children != NULL) {
printf(" {");