diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-29 15:36:51 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-29 15:36:51 +0100 |
commit | 4bb99d4eb462776336928392010b372236ac3c93 (patch) | |
tree | 6e81b5d96669949d7b6e3e5e80da455998657809 /dummy/netifd-proto.sh | |
parent | 5a9050ff211e9d424c08428cdae0b7082cd71b54 (diff) |
proto-shell: use the new network.interface object
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'dummy/netifd-proto.sh')
-rwxr-xr-x | dummy/netifd-proto.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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() { |