Project

General

Profile

Bug #3651

Updated by Ashlesh Gawande almost 9 years ago

Currently nlsrc is supposed to listen on localhost and router name prefix (http://redmine.named-data.net/issues/2737) but it only listens for localhost correctly. 

 It registers the correct router prefix but then sets interest filter for /lsdb (LsdbDatasetInterestHandler) instead of <$RouterName>/lsdb. <RouterName>/lsdb. 
 (Can be checked by running NLSR with DEBUG log level). 

 This is happening because LsdbDatasetInterestHandler is initialized in Nlsr constructor where it is passed m_confParam.getRouterPrefix() 
 before it is built later in Nlsr::initialize m_confParam.buildRouterPrefix(). 

 Hence in the constructor an empty string is passed for router name.

Back