mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-03-08 08:58:43 +03:00
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 <aderumier@odiso.com>
This commit is contained in:
parent
f5d8be06b6
commit
c8ff0bdf3d
@ -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";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user