update
diff --git a/nlsr_adl.c b/nlsr_adl.c
index 0b645bc..3b0b366 100644
--- a/nlsr_adl.c
+++ b/nlsr_adl.c
@@ -98,13 +98,12 @@
struct hashtb_enumerator *e = ⅇ
hashtb_start(nlsr->adl, e);
- //res = hashtb_seek(e, nbr->buf, nbr->length, 0);
- res = hashtb_seek(e, name,strlen(name) , 0);
+ res = hashtb_seek(e, nbr->buf, nbr->length, 0);
//printf("Nbr: %s Length:%d\n",nbr->buf, (int)nbr->length);
- printf("Nbr: %s Length: %d\n",name, (int) strlen(name));
+
- assert( res == HT_OLD_ENTRY);
+ //assert( res == HT_OLD_ENTRY);
nnbr=e->data;
nnbr->status=status;
@@ -126,13 +125,11 @@
struct hashtb_enumerator *e = ⅇ
hashtb_start(nlsr->adl, e);
- //res = hashtb_seek(e, nbr->buf, nbr->length, 0);
res = hashtb_seek(e, name,strlen(name) , 0);
-
- //printf("Nbr: %s Length:%d\n",nbr->buf, (int)nbr->length);
- printf("Nbr: %s Length: %d\n",name, (int) strlen(name));
- assert( res == HT_OLD_ENTRY);
+ //printf("Nbr: %s Length:%d\n",nbr->buf, (int)nbr->length);
+
+ //assert( res == HT_OLD_ENTRY);
nnbr=e->data;
memcpy(nnbr->last_lsdb_version,version,strlen(version)+1);