From: John Crispin Date: Wed, 4 Jun 2014 17:57:16 +0000 (+0100) Subject: add a interface. prefix to ubus_notify calls X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=commitdiff_plain;h=f5a15b82dab84a6783bf0edf6f6fae1641725b2c;ds=sidebyside add a interface. prefix to ubus_notify calls Signed-off-by: John Crispin --- 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);