Update
diff --git a/nlsr_adl.c b/nlsr_adl.c
index b39836a..0b645bc 100644
--- a/nlsr_adl.c
+++ b/nlsr_adl.c
@@ -91,15 +91,18 @@
printf("update_adjacent_status_to_adl called \n");
int res;
+ char *name=ccn_charbuf_as_string(nbr);
struct ndn_neighbor *nnbr;
struct hashtb_enumerator ee;
struct hashtb_enumerator *e = ⅇ
hashtb_start(nlsr->adl, e);
- res = hashtb_seek(e, nbr->buf, nbr->length, 0);
+ //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",nbr->buf, (int)nbr->length);
+ printf("Nbr: %s Length: %d\n",name, (int) strlen(name));
assert( res == HT_OLD_ENTRY);