commit | 07dd8cca90cf555ad97a532722fc6f5bf199fc34 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Thu Aug 16 10:23:01 2012 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Thu Aug 16 10:23:01 2012 -0500 |
tree | eba293847a93d860eac89b77e2572af37cc040ea | |
parent | c9286691e0eb0d5cef0c8a673802bbd2e79499c8 [diff] [blame] |
Update in Utility
diff --git a/nlsr.c b/nlsr.c index f5a826f..ffa1900 100644 --- a/nlsr.c +++ b/nlsr.c
@@ -396,6 +396,11 @@ nlsr->npl = hashtb_create(sizeof(struct name_prefix), ¶m_npl); nlsr->in_interest.p = &incoming_interest; nlsr->in_content.p = &incoming_content; + + nlsr->lsdb=(struct linkStateDatabase *)malloc(sizeof(struct linkStateDatabase *)); + nlsr->lsdb->version=(char *)malloc(16); + nlsr->lsdb->version="0000000000000000"; + nlsr->is_synch_init=1; nlsr->nlsa_id=0;