aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd/files/sbin/ifstatus
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/netifd/files/sbin/ifstatus')
-rwxr-xr-xpackage/network/config/netifd/files/sbin/ifstatus2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/sbin/ifstatus b/package/network/config/netifd/files/sbin/ifstatus
index 511cc1d8d9..8a951e6e15 100755
--- a/package/network/config/netifd/files/sbin/ifstatus
+++ b/package/network/config/netifd/files/sbin/ifstatus
@@ -10,4 +10,4 @@ ubus -S list "network.interface.$INTERFACE" >/dev/null || {
echo "Interface $INTERFACE not found"
exit 1
}
-ubus call network.interface."$INTERFACE" status
+ubus call network.interface status "{ \"interface\" : \"$INTERFACE\" }"