From 0bce3a7e90ddfde046792248684b298530224dcd Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 16 Oct 2013 20:10:27 +0200 Subject: [PATCH] Fix netifd update detection --- src/ubus.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.11.0