From: Dietmar Maurer Date: Tue, 13 May 2014 12:33:49 +0000 (+0200) Subject: we need to match link+ rule from iptables rules, and need to have a name different X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=47c710a624f7904efbb1ab04c57f3a3196d4421a we need to match link+ rule from iptables rules, and need to have a name different than link(\d+)i(\d+), for distinguished bridge/ovs interface unplug Based on patch from Alexandre, but I prefer "link${vmid}o${devid}" --- diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index bacca24..dffa764 100644 --- a/data/PVE/Network.pm +++ b/data/PVE/Network.pm @@ -89,7 +89,7 @@ my $compute_fwbr_names = sub { my $fwbr = "fwbr${vmid}i${devid}"; my $vethfw = "link${vmid}i${devid}"; my $vethfwpeer = "link${vmid}p${devid}"; - my $ovsintport = "fwint${vmid}i${devid}"; + my $ovsintport = "link${vmid}o${devid}"; return ($fwbr, $vethfw, $vethfwpeer, $ovsintport); };