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 aae2e0d1452d418a5bd14698ea8a0652b1a15fc6..223ca4d8112edb4678d9666915d18c6b0f8b6168 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,