From: Dietmar Maurer Date: Mon, 28 Jan 2013 10:23:39 +0000 (+0100) Subject: fix syntax error X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=ca402c95210c2bdac2dcd317a93c62f3424b17b9;hp=fb572a93953215a4db15513353f1af517a17eb50 fix syntax error --- diff --git a/Makefile b/Makefile index 0a34031..6a2c4ac 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ RELEASE=2.3 VERSION=1.0 -PKGREL=42 +PKGREL=43 PACKAGE=libpve-common-perl diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index a3551de..ae0ebdb 100644 --- a/data/PVE/Network.pm +++ b/data/PVE/Network.pm @@ -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 diff --git a/debian/changelog b/debian/changelog index d439a35..942eaa4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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)