From: Steven Barth Date: Wed, 16 Oct 2013 18:10:27 +0000 (+0200) Subject: Fix netifd update detection X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0bce3a7e90ddfde046792248684b298530224dcd;p=oweals%2Fodhcpd.git Fix netifd update detection --- diff --git a/src/ubus.c b/src/ubus.c index 2876eb9..1c74499 100644 --- a/src/ubus.c +++ b/src/ubus.c @@ -278,7 +278,6 @@ static void handle_event(_unused struct ubus_context *ctx, _unused struct ubus_e { struct blob_attr *tb[OBJ_ATTR_MAX]; blobmsg_parse(obj_attrs, OBJ_ATTR_MAX, tb, blob_data(msg), blob_len(msg)); - objid = 0; if (!tb[OBJ_ATTR_ID] || !tb[OBJ_ATTR_PATH]) return;