X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=blobdiff_plain;f=ubus.c;h=1009a3af147aa1dec79631d0e0b1ff9b93079533;hp=232170a4106ee62b36019904665f773595b8c1b9;hb=431db651f04d18d2ee454e49d14806f08283f28c;hpb=f02862350ac609517e19da3916a17f5d6c81698b diff --git a/ubus.c b/ubus.c index 232170a..1009a3a 100644 --- a/ubus.c +++ b/ubus.c @@ -22,6 +22,7 @@ #include "ubus.h" #include "cache.h" +#include "service.h" static struct ubus_auto_conn conn; static struct blob_buf b; @@ -31,6 +32,7 @@ mdns_reload(struct ubus_context *ctx, struct ubus_object *obj, struct ubus_request_data *req, const char *method, struct blob_attr *msg) { + service_init(); return 0; }