X-Git-Url: https://git.proxmox.com/?p=qemu-server.git;a=blobdiff_plain;f=pve-bridge;h=64490b0a9b70278fc22e4a22c4c8007758457663;hp=b1d40f8d37811894bd2ce8e83deb526c27ead02f;hb=5b97ef2441c09a13fd9b70ae6f9bca9e38aa465d;hpb=ffda963f4645990d94e96c2737b641e499e81ab3 diff --git a/pve-bridge b/pve-bridge index b1d40f8..64490b0 100755 --- a/pve-bridge +++ b/pve-bridge @@ -38,10 +38,6 @@ die "unable to parse network config '$netid'\n" if !$net; PVE::Network::tap_create($iface, $net->{bridge}); -# if ovs is under this bridge all traffic control settings will be flushed. -# so we need to call tap_rate_limit after tap_plug -PVE::Network::tap_plug($iface, $net->{bridge}, $net->{tag}, $net->{firewall}, $net->{trunks}); - -PVE::Network::tap_rate_limit($iface, $net->{rate}) if $net->{rate}; +PVE::Network::tap_plug($iface, $net->{bridge}, $net->{tag}, $net->{firewall}, $net->{trunks}, $net->{rate}); exit 0;