X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=dummy%2Fnetifd-proto.sh;h=17efd5953e95e1e3a9e48a39bd8635e5ea2831ad;hp=323322b37b7acfaaa0cda587bc2e0932e3eb2b68;hb=4bb99d4eb462776336928392010b372236ac3c93;hpb=5a9050ff211e9d424c08428cdae0b7082cd71b54 diff --git a/dummy/netifd-proto.sh b/dummy/netifd-proto.sh index 323322b..17efd59 100755 --- a/dummy/netifd-proto.sh +++ b/dummy/netifd-proto.sh @@ -223,7 +223,8 @@ _proto_push_array() { _proto_notify() { local interface="$1" local options="$2" - ubus $options call network.interface."$interface" notify_proto "$(json_dump)" + json_add_string "interface" "$interface" + ubus $options call network.interface notify_proto "$(json_dump)" } proto_send_update() {