summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-10-16 20:10:27 +0200
committerSteven Barth <steven@midlink.org>2013-10-16 20:10:27 +0200
commit0bce3a7e90ddfde046792248684b298530224dcd (patch)
treea219baf7015aa2978322e29f6b17690656849774
parent132e49148b4808b3839757d4867e42be189199aa (diff)
Fix netifd update detection
-rw-r--r--src/ubus.c1
1 files changed, 0 insertions, 1 deletions
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;