summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2003-04-14 15:50:54 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2003-04-14 15:50:54 +0000
commit8d0bc82baf50da74d92ad716322a47542ea66e40 (patch)
treea42d76e3885b00bc288e4f4de426509bda0b7276
parent19f68914c4d3f898656444dbf65b495c83513e31 (diff)
do not add a realtime service curve to the root queue as
the realtime service is not hierarchically distributed. ok henning@
-rw-r--r--sbin/pfctl/pfctl_altq.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
index db0b0c7cb14..3d10d8b72b2 100644
--- a/sbin/pfctl/pfctl_altq.c
+++ b/sbin/pfctl/pfctl_altq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_altq.c,v 1.65 2003/04/14 14:50:46 henning Exp $ */
+/* $OpenBSD: pfctl_altq.c,v 1.66 2003/04/14 15:50:53 kjc Exp $ */
/*
* Copyright (C) 2002
@@ -666,9 +666,6 @@ eval_pfqueue_hfsc(struct pfctl *pf, struct pf_altq *pa)
if (pa->parent[0] == 0) {
/* root queue */
pa->qid = HFSC_ROOTCLASS_HANDLE;
- opts->rtsc_m1 = pa->ifbandwidth;
- opts->rtsc_m2 = pa->ifbandwidth;
- opts->rtsc_d = 0;
opts->lssc_m1 = pa->ifbandwidth;
opts->lssc_m2 = pa->ifbandwidth;
opts->lssc_d = 0;