diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-19 17:37:40 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-11-19 17:37:40 +0000 |
commit | 3605fc519cdb9918319ea4345c35d2c0594a1986 (patch) | |
tree | 89710e040fbeb63bf27fb2345849f507e757706b /sbin | |
parent | d8a286cf3de4fb603fc03485af16428bc75620db (diff) |
altq interface spec should be printed as altq interface spec, not queue
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl_altq.c | 7 |
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(" {"); |