commit | 7264383df5016d80ba3d64c2a207de884b76c848 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Tue Aug 21 13:21:32 2012 -0400 |
committer | akmhoque <akmhoque@gmail.com> | Tue Aug 21 13:21:32 2012 -0400 |
tree | aa604db3d3d699b7c7df226a8388742d93a2f649 | |
parent | f6432c23f3c1eee4392c8aa0e9b7e8dfcd802bfc [diff] |
update versioning
diff --git a/nlsr_adl.c b/nlsr_adl.c index 6b5a4ba..f208caf 100644 --- a/nlsr_adl.c +++ b/nlsr_adl.c
@@ -45,6 +45,7 @@ hnbr->neighbor=(struct name_prefix *)malloc(sizeof(struct name_prefix *)); hnbr->neighbor->name=(char *)malloc(nbr->neighbor->length); memcpy(hnbr->neighbor->name,nbr->neighbor->name,nbr->neighbor->length); + hnbr->neighbor->name[nbr->neighbor->length]='\0'; //hnbr->last_lsdb_version=(char *)malloc(15); hnbr->neighbor->length=nbr->neighbor->length;