summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-04 18:57:16 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-06-05 11:23:59 +0200
commitf5a15b82dab84a6783bf0edf6f6fae1641725b2c (patch)
treefc7c73da08765170d4f96556bbb5f98ff6e79c4e
parent247f42d1907dbb16033dcb9a28548c4591af9d67 (diff)
add a interface. prefix to ubus_notify calls
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r--ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubus.c b/ubus.c
index 02becf2..cec2e88 100644
--- 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);