diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-04 18:57:16 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-05 11:23:59 +0200 |
commit | f5a15b82dab84a6783bf0edf6f6fae1641725b2c (patch) | |
tree | fc7c73da08765170d4f96556bbb5f98ff6e79c4e | |
parent | 247f42d1907dbb16033dcb9a28548c4591af9d67 (diff) |
add a interface. prefix to ubus_notify calls
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |