From f8375dd9e060e6560e451145cc91d5a2346fa456 Mon Sep 17 00:00:00 2001 From: Jakob Olsson Date: Tue, 27 Feb 2024 16:16:47 +0100 Subject: [PATCH] map-agent: map-dynamic-backhaul: use brctl delif to remove bsta from bridge Map-agent now uses libeasy rather than netifd --- map-agent/files/etc/hotplug.d/ethernet/map-dynamic-backhaul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map-agent/files/etc/hotplug.d/ethernet/map-dynamic-backhaul b/map-agent/files/etc/hotplug.d/ethernet/map-dynamic-backhaul index 96f9ab842..7bd49312b 100755 --- a/map-agent/files/etc/hotplug.d/ethernet/map-dynamic-backhaul +++ b/map-agent/files/etc/hotplug.d/ethernet/map-dynamic-backhaul @@ -69,7 +69,7 @@ fi remove_from_bridge() { config_get ifname "$section" ifname - [ -n "$ifname" ] && ubus call network.interface.${al_brnet} remove_device '{"name":"$ifname"}' + [ -n "$ifname" ] && brctl delif ${al_bridge} ${ifname} } update_bstas() {