Fix netifd update detection
authorSteven Barth <steven@midlink.org>
Wed, 16 Oct 2013 18:10:27 +0000 (20:10 +0200)
committerSteven Barth <steven@midlink.org>
Wed, 16 Oct 2013 18:10:27 +0000 (20:10 +0200)
src/ubus.c

index 2876eb9e6bf54b3ff608aae1564e459d01fae630..1c74499dc404cf1454a694a457adfa8ffde5585b 100644 (file)
@@ -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;