Actions
Bug #3651
closedNLSR not setting router name command prefix correctly
Start date:
06/15/2016
Due date:
% Done:
100%
Estimated time:
Description
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.
(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.
Actions