Projet

Général

Profil

Télécharger (621 octets) Statistiques
| Branche: | Révision:

univnautes-tools / patches / stable / 10 / hfscconfig.RELENG_10.diff @ 4ab3b90b

1
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
2
index 40e11d5..6886974 100644
3
--- a/sbin/pfctl/pfctl_altq.c
4
+++ b/sbin/pfctl/pfctl_altq.c
5
@@ -700,13 +700,6 @@ eval_pfqueue_hfsc(struct pfctl *pf, struct pf_altq *pa)
6
 		return (-1);
7
 	}
8
 
9
-	if ((opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
10
-	    (opts->lssc_m1 < opts->lssc_m2 && opts->lssc_m1 != 0) ||
11
-	    (opts->ulsc_m1 < opts->ulsc_m2 && opts->ulsc_m1 != 0)) {
12
-		warnx("m1 must be zero for convex curve: %s", pa->qname);
13
-		return (-1);
14
-	}
15
-
16
 	/*
17
 	 * admission control:
18
 	 * for the real-time service curve, the sum of the service curves
(19-19/67)