From: Alexandre Derumier Date: Thu, 9 Jan 2020 13:11:01 +0000 (+0100) Subject: INotify: allow vlan tagged bridge interface on non-vlanaware bridge X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=c8ff0bdf3dd8606400cf2999c770408f1ef02d84 INotify: allow vlan tagged bridge interface on non-vlanaware bridge Seem that it's working too with non-vlanaware bridge Signed-off-by: Alexandre Derumier --- diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index b38d887..1a528fa 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -1474,9 +1474,7 @@ sub __write_etc_network_interfaces { die "vlan '$iface' - unable to find parent '$p'\n" if !$n; - if ($n->{type} eq 'bridge' && !$n->{bridge_vlan_aware}) { - die "vlan '$iface' - bridge vlan aware is not enabled on parent '$p'\n"; - } elsif ($n->{type} ne 'eth' && $n->{type} ne 'bridge' && $n->{type} ne 'bond' && $n->{type} ne 'vlan') { + if ($n->{type} ne 'eth' && $n->{type} ne 'bridge' && $n->{type} ne 'bond' && $n->{type} ne 'vlan') { die "vlan '$iface' - wrong interface type on parent '$p' " . "('$n->{type}' != 'eth|bond|bridge|vlan' )\n"; }