]> git.proxmox.com Git - pve-common.git/commitdiff
avoid access to undefinded var $tag
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 19 Nov 2015 05:23:12 +0000 (06:23 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 19 Nov 2015 05:23:12 +0000 (06:23 +0100)
src/PVE/Network.pm

index 024b9b4917afc62318d54ca75da86f27b71da208..8cd769876ae06967413f4e0a3160f0ac229ec8c5 100644 (file)
@@ -174,7 +174,7 @@ my $bridge_add_interface = sub {
            die "unable to add vlan $tag to interface $iface\n";
        } else {
            system("/sbin/bridge vlan add dev $iface vid 2-4094") == 0 ||
-           die "unable to add vlan $tag to interface $iface\n";
+           die "unable to add default vlan tags to interface $iface\n";
        } 
    }
 };