summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-11-28 14:50:23 +0000
committerhenning <henning@openbsd.org>2002-11-28 14:50:23 +0000
commit9c459d032f1bb75f6639aa3013e34f15cec42779 (patch)
tree2701af2271cfbea2a12d314bf6e856638141458b
parentprint qlimit on altq if not equal to the default value (diff)
downloadwireguard-openbsd-9c459d032f1bb75f6639aa3013e34f15cec42779.tar.xz
wireguard-openbsd-9c459d032f1bb75f6639aa3013e34f15cec42779.zip
qlimit before tbrsize
-rw-r--r--sbin/pfctl/pfctl_altq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
index 92fb2d9a398..118c6d8d9c2 100644
--- a/sbin/pfctl/pfctl_altq.c
+++ b/sbin/pfctl/pfctl_altq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_altq.c,v 1.13 2002/11/28 14:44:57 henning Exp $ */
+/* $OpenBSD: pfctl_altq.c,v 1.14 2002/11/28 14:50:23 henning Exp $ */
/*
* Copyright (C) 2002
* Sony Computer Science Laboratories Inc. All rights reserved.
@@ -151,10 +151,10 @@ print_altq(const struct pf_altq *a, unsigned level)
printf("cbq ");
}
- printf("bandwidth %s tbrsize %u ", rate2str((double)a->ifbandwidth),
- a->tbrsize);
+ printf("bandwidth %s ", rate2str((double)a->ifbandwidth));
if (a->qlimit != DEFAULT_QLIMIT)
printf("qlimit %u ", a->qlimit);
+ printf("tbrsize %u ", a->tbrsize);
}
void