5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-11 13:17:36 +03:00

setup_tc_rate_limit : fix typo ingres -> ingress

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2013-03-05 10:23:43 +01:00 committed by Dietmar Maurer
parent ec9ada188b
commit edde1d4650

View File

@ -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");