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:
247f42d
)
add a interface. prefix to ubus_notify calls
author
John Crispin
<blogic@openwrt.org>
Wed, 4 Jun 2014 17:57:16 +0000
(18:57 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 5 Jun 2014 09:23:59 +0000
(11:23 +0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
ubus.c
patch
|
blob
|
history
diff --git
a/ubus.c
b/ubus.c
index 02becf22c8a37b894fba22aad87488f64c036845..cec2e8881629091d2cb356f7f83e992fbcbde098 100644
(file)
--- a/
ubus.c
+++ b/
ubus.c
@@
-1164,7
+1164,7
@@
netifd_ubus_interface_event(struct interface *iface, bool up)
void
netifd_ubus_interface_notify(struct interface *iface, bool up)
{
- const char *event = (up) ? "
update" : "
down";
+ const char *event = (up) ? "
interface.update" : "interface.
down";
blob_buf_init(&b, 0);
blobmsg_add_string(&b, "interface", iface->name);
netifd_dump_status(iface);