commit | 7ec636a847ca68556ca71a8bd7c4a1df77205a8c | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Thu Aug 16 14:07:56 2012 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Thu Aug 16 14:07:56 2012 -0500 |
tree | fc5c2de295028e3236aeb87ba0f990a77f695fa4 | |
parent | f9fffe7283e2c6572e4413e19d6b05d55160044f [diff] |
Update
diff --git a/nlsr_ndn.c b/nlsr_ndn.c index 2c50b88..9698b10 100644 --- a/nlsr_ndn.c +++ b/nlsr_ndn.c
@@ -275,6 +275,11 @@ for(i=0;i<name_comps;i++) { res=ccn_name_comp_strcmp(info->interest_ccnb,info->interest_comps,i,"nlsr"); + + + res=ccn_name_comp_get(info->interest_ccnb, info->interest_comps,i,&comp_ptr1, &comp_size); + printf("%s \n",comp_ptr1); + if( res == 0) { nlsr_position=i;