summaryrefslogtreecommitdiffstats
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-17 13:52:53 -0300
committerRenato Botelho <renato@netgate.com>2015-08-17 13:52:53 -0300
commitd5796de6931d14d3ff44cefd4ce4dfab8e88c7ba (patch)
tree59786d08c487470f3ca237001b91e521df92b65f /sbin/pfctl
parent40ecb8bc835432c0fcc500e0201b0aa7c04e9bbe (diff)
downloadFreeBSD-src-d5796de6931d14d3ff44cefd4ce4dfab8e88c7ba.zip
FreeBSD-src-d5796de6931d14d3ff44cefd4ce4dfab8e88c7ba.tar.gz
Importing pfSense patch hfscconfig.RELENG_10.diff
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl_altq.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
index ae566f8..3d58271 100644
--- a/sbin/pfctl/pfctl_altq.c
+++ b/sbin/pfctl/pfctl_altq.c
@@ -700,13 +700,6 @@ eval_pfqueue_hfsc(struct pfctl *pf, struct pf_altq *pa)
return (-1);
}
- if ((opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
- (opts->lssc_m1 < opts->lssc_m2 && opts->lssc_m1 != 0) ||
- (opts->ulsc_m1 < opts->ulsc_m2 && opts->ulsc_m1 != 0)) {
- warnx("m1 must be zero for convex curve: %s", pa->qname);
- return (-1);
- }
-
/*
* admission control:
* for the real-time service curve, the sum of the service curves
OpenPOWER on IntegriCloud