mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 18:59:41 +00:00
fdb: only manage FDB entries for Linux bridges for now
we need to handle OVS setups differently, so for now just ignore it there (behavior as it was in 7.2) Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f81c9843c3
commit
fe62da4f97
@ -8451,7 +8451,7 @@ sub add_nets_bridge_fdb {
|
||||
my $bridge = $net->{bridge};
|
||||
if ($have_sdn) {
|
||||
PVE::Network::SDN::Zones::add_bridge_fdb($iface, $mac, $bridge, $net->{firewall});
|
||||
} else {
|
||||
} elsif (-d "/sys/class/net/$bridge/bridge") { # avoid fdb management with OVS for now
|
||||
PVE::Network::add_bridge_fdb($iface, $mac, $net->{firewall});
|
||||
}
|
||||
}
|
||||
@ -8470,7 +8470,7 @@ sub del_nets_bridge_fdb {
|
||||
my $bridge = $net->{bridge};
|
||||
if ($have_sdn) {
|
||||
PVE::Network::SDN::Zones::del_bridge_fdb($iface, $mac, $bridge, $net->{firewall});
|
||||
} else {
|
||||
} elsif (-d "/sys/class/net/$bridge/bridge") { # avoid fdb management with OVS for now
|
||||
PVE::Network::del_bridge_fdb($iface, $mac, $net->{firewall});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user