]> git.proxmox.com Git - pve-network.git/blobdiff - PVE/Network/Network/VxlanMulticastPlugin.pm
plugins: generate config: don't check vlan range
[pve-network.git] / PVE / Network / Network / VxlanMulticastPlugin.pm
index 7898f79cc0a1485534d63e537c7cdd93e002f9dc..2f03f487b6cd444eb7caca31ecbf082a390baf00 100644 (file)
@@ -56,13 +56,6 @@ sub generate_network_config {
     die "missing vxlan tag" if !$tag;
     my $iface = $uplinks->{$uplink} ? $uplinks->{$uplink} : "uplink$uplink";
 
-    eval {
-       PVE::Network::Network::Plugin::parse_tag_number_or_range($vxlanallowed, '16777216', $tag) if $vxlanallowed;
-    };
-    if($@) {
-       die "vlan $tag is not allowed in transport $zoneid";
-    }
-
     my $config = "\n";
     $config .= "auto vxlan$tag\n";
     $config .= "iface vxlan$tag inet manual\n";