From 948f727a0b8718010fd59a297f45ace88605c7e5 Mon Sep 17 00:00:00 2001 From: Balalakshmi Arunachalam Rajendran Date: Fri, 28 Feb 2025 09:52:29 +0000 Subject: [PATCH] map-agent: map-topology-discovery: fix the redirection of buildcmdu Not redirecting caused stdout issues over the serial console. --- map-agent/files/etc/hotplug.d/ethernet/map-topology-discovery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map-agent/files/etc/hotplug.d/ethernet/map-topology-discovery b/map-agent/files/etc/hotplug.d/ethernet/map-topology-discovery index 4e83e36a5..da0d9ea7b 100755 --- a/map-agent/files/etc/hotplug.d/ethernet/map-topology-discovery +++ b/map-agent/files/etc/hotplug.d/ethernet/map-topology-discovery @@ -15,7 +15,7 @@ rc="$?" issue_discovery() { local iface="$1" - res=$(ubus -t5 call ieee1905 buildcmdu "{\"type\":0, \"ifname\":\"${iface}\"}") + res=$(ubus -t5 call ieee1905 buildcmdu "{\"type\":0, \"ifname\":\"${iface}\"}") > /dev/null 2>&1 json_load "$res" > /dev/null 2>&1 json_get_var data data