projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a9050f
)
proto-shell: use the new network.interface object
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 29 Jan 2013 14:36:51 +0000
(15:36 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 29 Jan 2013 14:36:51 +0000
(15:36 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
dummy/netifd-proto.sh
patch
|
blob
|
history
diff --git
a/dummy/netifd-proto.sh
b/dummy/netifd-proto.sh
index 323322b37b7acfaaa0cda587bc2e0932e3eb2b68..17efd5953e95e1e3a9e48a39bd8635e5ea2831ad 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"
- 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() {