IP Address
diff --git a/nlsr.c b/nlsr.c
index df637b7..20c7d45 100644
--- a/nlsr.c
+++ b/nlsr.c
@@ -179,7 +179,8 @@
 	if (rem != NULL )
 	{
 		nbr_ip_addr=strtok_r(NULL,sep,&rem);
-		is_ip_configured=1;
+		if ( nbr_ip_addr != NULL)
+			is_ip_configured=1;
 	}
 	struct name_prefix *nbr=(struct name_prefix *)malloc(sizeof(struct name_prefix ));
 	nbr->name=(char *)malloc(strlen(rtr_name)+1);