[pve-devel] [PATCH 2/3] setup_tc_rate_limit : fix typo ingres -> ingress

Alexandre Derumier aderumier at odiso.com
Mon Mar 4 16:24:49 CET 2013


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 data/PVE/Network.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm
index 7d3707d..4efd30b 100644
--- a/data/PVE/Network.pm
+++ b/data/PVE/Network.pm
@@ -11,7 +11,7 @@ use File::Basename;
 sub setup_tc_rate_limit {
     my ($iface, $rate, $burst, $debug) = @_;
 
-    system("/sbin/tc qdisc del dev $iface ingres >/dev/null 2>&1");
+    system("/sbin/tc qdisc del dev $iface ingress >/dev/null 2>&1");
     system("/sbin/tc qdisc del dev $iface root >/dev/null 2>&1");
 
     run_command("/sbin/tc qdisc add dev $iface handle ffff: ingress");
-- 
1.7.10.4




More information about the pve-devel mailing list