commit | 8c50d0d4690bf2f1713814e5108c824473a4e6b3 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Thu Aug 09 13:38:03 2012 -0500 |
committer | akmhoque <akmhoque@gmail.com> | Thu Aug 09 13:38:03 2012 -0500 |
tree | e53432673fb0aaf2fffee4f536a8e4341b41a70d | |
parent | 14891553d2368867f6ed07c3d75e99e7e6077288 [diff] [blame] |
Update in nlsr
diff --git a/nlsr.c b/nlsr.c index 76bbb8a..ad7afc0 100644 --- a/nlsr.c +++ b/nlsr.c
@@ -203,7 +203,7 @@ nlsr=(struct nlsr *)malloc(sizeof(struct nlsr)); nlsr->adl=hashtb_create(200, ¶m_adl); - nlsr->npl = hashtb_create(200, ¶m_npl); + nlsr->npl = hashtb_create(sizeof(struct name_prefix), ¶m_npl); nlsr->in_interest.p = &incoming_interest; nlsr->in_content.p = &incoming_content; nlsr->is_synch_init=1;