From: Felix Fietkau Date: Thu, 5 Jun 2014 13:30:13 +0000 (+0200) Subject: ubus: implement the reload command X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmdnsd.git;a=commitdiff_plain;h=4a10aa49f77351da34872b7c15c6debd13e42d2a ubus: implement the reload command Signed-off-by: Felix Fietkau --- 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; }