map-agent: map-topology-discovery: remove redirection of buildcmdu result

This commit is contained in:
Balalakshmi Arunachalam Rajendran 2025-02-27 12:45:12 +00:00 committed by IOPSYS Dev
parent d80d41a6f6
commit 52d5bf6db6
No known key found for this signature in database

View file

@ -15,7 +15,7 @@ rc="$?"
issue_discovery() {
local iface="$1"
res=$(ubus -t5 call ieee1905 buildcmdu "{\"type\":0, \"ifname\":\"${iface}\"}" > /dev/null 2>&1)
res=$(ubus -t5 call ieee1905 buildcmdu "{\"type\":0, \"ifname\":\"${iface}\"}")
json_load "$res" > /dev/null 2>&1
json_get_var data data