From f5a15b82dab84a6783bf0edf6f6fae1641725b2c Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 4 Jun 2014 18:57:16 +0100 Subject: [PATCH] add a interface. prefix to ubus_notify calls Signed-off-by: John Crispin --- ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0