From b5f5d2e2e9f0feaa82383537c46f7c7622b9e2d3 Mon Sep 17 00:00:00 2001
From: Jakob Olsson <jakob.olsson@iopsys.eu>
Date: Tue, 25 Mar 2025 17:27:30 +0100
Subject: [PATCH] traffic_separation: use ubus call uci commit to apply netifd
 vlan tags

---
 src/script/traffic_separation | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/script/traffic_separation b/src/script/traffic_separation
index 237e5ef91..3ddadfbda 100755
--- a/src/script/traffic_separation
+++ b/src/script/traffic_separation
@@ -442,14 +442,8 @@ EOF
 		config_load network
 		config_foreach bridge_verify_vid_mapping bridge-vlan
 
-
 		[ -n "dhcp_reload" ] && /etc/init.d/dnsmasq reload
-		if [ "$restart" = "1" ]; then
-			ts_dbg "trigger network restart"
-			/etc/init.d/network restart
-		else
-			ubus call uci commit '{"config":"network"}'
-		fi
+		ubus call uci commit '{"config":"network"}'
 		/etc/init.d/firewall reload
 	}
 
-- 
GitLab