update versioning
diff --git a/nlsr_ndn.c b/nlsr_ndn.c
index 224294b..eaa0ba0 100644
--- a/nlsr_ndn.c
+++ b/nlsr_ndn.c
@@ -436,9 +436,9 @@
for(i=0;i<adl_element;i++)
{
nbr=e->data;
- printf("Sending interest for name prefix:%s/%s/%s\n",nbr->neighbor->name,nlsr_str,lsdb_str);
+ printf("Sending interest for name prefix:%s/%s/%s\n",ccn_charbuf_as_string(nbr->neighbor),nlsr_str,lsdb_str);
name=ccn_charbuf_create();
- res=ccn_name_from_uri(name,nbr->neighbor->name);
+ res=ccn_name_from_uri(name,ccn_charbuf_as_string(nbr->neighbor));
ccn_name_append_str(name,nlsr_str);
ccn_name_append_str(name,lsdb_str);
//ccn_name_append_str(name,rnumstr);
@@ -459,7 +459,8 @@
ccnb_tagged_putf(templ, CCN_DTAG_Any, "");
ccn_charbuf_reset(c);
//ccn_charbuf_putf(c, "%u", (unsigned)mynumber);
- ccn_charbuf_putf(c, "%s", nbr->last_lsdb_version);
+ //ccn_charbuf_putf(c, "%s", nbr->last_lsdb_version);
+ ccn_charbuf_putf(c, "%u", (unsigned)nbr->last_lsdb_version);
ccnb_append_tagged_blob(templ, CCN_DTAG_Component, c->buf, c->length);
ccn_charbuf_append_closer(templ); /* </Exclude> */
ccn_charbuf_append_closer(templ); /* </Interest> */