diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2014-05-09 21:03:44 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2014-05-09 21:03:44 +0000 |
commit | 7ce1aab6c3009a532ac3942f60ec3664d2f62909 (patch) | |
tree | 069bb2b438df9cdd70c61460f3f7341265b292a5 /usr.bin | |
parent | b1a7796a108fae871940583d6a39295c84498f55 (diff) |
print interface name with queues in "systat q"; ok henning
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/systat/pftop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/systat/pftop.c b/usr.bin/systat/pftop.c index 47055800d83..de6771e1973 100644 --- a/usr.bin/systat/pftop.c +++ b/usr.bin/systat/pftop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pftop.c,v 1.27 2014/05/03 11:11:15 chl Exp $ */ +/* $OpenBSD: pftop.c,v 1.28 2014/05/09 21:03:43 sthen Exp $ */ /* * Copyright (c) 2001, 2007 Can Erkin Acar * Copyright (c) 2001 Daniel Hartmeier @@ -1633,6 +1633,8 @@ print_queue_node(struct pfctl_queue_node *node) for (i = 0; i < node->depth; i++) tbprintf(" "); tbprintf("%s", node->qs.qname); + if (i == 0 && node->qs.ifname[0]) + tbprintf(" on %s ", node->qs.ifname); print_fld_tb(FLD_QUEUE); // XXX: missing min, max, burst |