mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-25 07:24:13 +00:00
fix syntax error
This commit is contained in:
parent
fb572a9395
commit
ca402c9521
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
RELEASE=2.3
|
||||
|
||||
VERSION=1.0
|
||||
PKGREL=42
|
||||
PKGREL=43
|
||||
|
||||
PACKAGE=libpve-common-perl
|
||||
|
||||
|
@ -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
2
debian/changelog
vendored
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user