fix initial object event sequence number
authorFelix Fietkau <nbd@openwrt.org>
Thu, 10 Feb 2011 00:37:32 +0000 (01:37 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 10 Feb 2011 00:37:32 +0000 (01:37 +0100)
ubusd_event.c

index aae2e0d..223ca4d 100644 (file)
@@ -5,7 +5,7 @@ static struct avl_tree patterns;
 static LIST_HEAD(catch_all);
 static struct ubus_object *event_obj;
 static int event_seq = 0;
-static int obj_event_seq = 0;
+static int obj_event_seq = 1;
 
 enum evs_type {
        EVS_PATTERN,