fix syntax error

This commit is contained in:
Dietmar Maurer 2013-01-28 11:23:39 +01:00
parent fb572a9395
commit ca402c9521
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
RELEASE=2.3
VERSION=1.0
PKGREL=42
PKGREL=43
PACKAGE=libpve-common-perl

View File

@ -18,9 +18,9 @@ sub setup_tc_rate_limit {
# virtio uses large packets 64K, so we need to set mtu to that
# value - else filter drops those packets and rate limit does not work.
run_command("/sbin/tc filter add dev $iface parent ffff: "
"protocol ip prio 50 u32 match ip src 0.0.0.0/0 "
"police rate ${rate}bps burst ${burst}b "
run_command("/sbin/tc filter add dev $iface parent ffff: " .
"protocol ip prio 50 u32 match ip src 0.0.0.0/0 " .
"police rate ${rate}bps burst ${burst}b " .
"mtu 64kb drop flowid :1");
# tbf does not work for unknown reason

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
libpve-common-perl (1.0-42) unstable; urgency=low
libpve-common-perl (1.0-43) unstable; urgency=low
* tc: use rate filter with mtu 64k (instead of avrate)