dnsmasq: mark global ubus context as closed after fork
[openwrt/staging/hauke.git] / package / network / services / dnsmasq / patches / 200-ubus_dns.patch
index 8a70bb8bdf19bbbb68bd5c1a40a5faa50ccae732..ccbe70ab9c3cef7fb527e5662668db9d1f6e2821 100644 (file)
 +    return;
 +
 +  ubus_free(ubus);
-+  ubus = NULL;
++  daemon->ubus = NULL;
 +}
 +
  static int ubus_handle_metrics(struct ubus_context *ctx, struct ubus_object *obj,