projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proto-shell: use the new network.interface object
[project/netifd.git]
/
dummy
/
netifd-proto.sh
diff --git
a/dummy/netifd-proto.sh
b/dummy/netifd-proto.sh
index
323322b
..
17efd59
100755
(executable)
--- 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"
_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() {
}
proto_send_update() {