projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubus: add notification for subscribers present/gone
[project/ubus.git]
/
libubus.c
diff --git
a/libubus.c
b/libubus.c
index 03899d6db44e766513053e0eb65a5acee27cc6ee..dffbfeb958074aa3d27bc0fbe3e8102f99f6d366 100644
(file)
--- a/
libubus.c
+++ b/
libubus.c
@@
-232,6
+232,10
@@
void __hidden ubus_process_msg(struct ubus_context *ctx, struct ubus_msghdr *hdr
case UBUS_MSG_UNSUBSCRIBE:
ubus_process_unsubscribe(ctx, hdr);
break;
+
+ case UBUS_MSG_NOTIFY:
+ ubus_process_notify(ctx, hdr);
+ break;
}
}