OBAMP: reverting error from previous commit
authorSaverio Proto <zioproto@gmail.com>
Thu, 10 Jun 2010 17:43:53 +0000 (19:43 +0200)
committerSaverio Proto <zioproto@gmail.com>
Thu, 10 Jun 2010 17:43:53 +0000 (19:43 +0200)
lib/obamp/src/obamp.c

index abce31d..36d1414 100644 (file)
@@ -1407,15 +1407,6 @@ tree_create(void *x)
     }
 
   }
-  else { //Refresh tree link with parent if existing
-       
-       struct in_addr zeros;
-       memset(&zeros,0,sizeof(struct in_addr));
-        
-        if (memcmp(&zeros, &myState->ParentId.v4, sizeof(struct in_addr)) != 0) {
-               tree_link_req(&myState->ParentId.v4);
-       }
-  }
 
   x = NULL;
 }