init_nlsr() update
diff --git a/nlsr.c b/nlsr.c
index e73bdcc..477b202 100644
--- a/nlsr.c
+++ b/nlsr.c
@@ -442,7 +442,7 @@
struct hashtb_param param_npl = {0};
nlsr->npl = hashtb_create(sizeof(struct name_prefix), ¶m_npl);
struct hashtb_param param_pit_alsa = {0};
- nlsr->pit_alsa = hashtb_create(sizeof(struct pneding_interest), ¶m_pit_alsa);
+ nlsr->pit_alsa = hashtb_create(sizeof(struct pending_interest), ¶m_pit_alsa);
struct hashtb_param param_npt = {0};
nlsr->npt = hashtb_create(sizeof(struct npt_entry), ¶m_npt);
struct hashtb_param param_rte = {0};
diff --git a/nlsr.h b/nlsr.h
index 9c8ea39..f935951 100644
--- a/nlsr.h
+++ b/nlsr.h
@@ -10,6 +10,7 @@
#define LSA_REFRESH_TIME 600
#define ROUTER_DEAD_INTERVAL 900
+
struct name_prefix
{
char *name;
@@ -23,7 +24,7 @@
char *lsdb_version;
};
-struct pneding_interest
+struct pending_interest
{
char *int_name;
int timed_out;