]> git.proxmox.com Git - pve-common.git/commitdiff
we need to match link+ rule from iptables rules, and need to have a name different
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 13 May 2014 12:33:49 +0000 (14:33 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 13 May 2014 12:33:49 +0000 (14:33 +0200)
than link(\d+)i(\d+), for distinguished bridge/ovs interface unplug

Based on patch from Alexandre, but I prefer "link${vmid}o${devid}"

data/PVE/Network.pm

index bacca24c3736eec90ee66cc9ee1cdf538297eb21..dffa764f552a7b527dcbec8e08dfd0629174d4f1 100644 (file)
@@ -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);
 };