OBAMP: Reset TreeSequenceNumber counter when resetting tree links
authorSaverio Proto <zioproto@gmail.com>
Fri, 4 Jun 2010 20:54:46 +0000 (22:54 +0200)
committerSaverio Proto <zioproto@gmail.com>
Fri, 4 Jun 2010 20:54:46 +0000 (22:54 +0200)
lib/obamp/src/obamp.c

index a183aca..daa5bac 100644 (file)
@@ -588,6 +588,8 @@ reset_tree_links(void)
 
   memset(&myState->ParentId.v4, 0, sizeof(myState->ParentId.v4));
   memset(&myState->OldParentId.v4, 1, sizeof(myState->OldParentId.v4));
+  myState->TreeCreateSequenceNumber=0;
+
 
 };