Project

General

Profile

Bug #1402

Updated by Junxiao Shi about 10 years ago

With nrd-0.1 (or NRD=1 previously), the incoming faceid of an interest should be 0 for self registration. However, calling getIncomingFaceId returns max of uint64_t. 

 <pre> 

 Commits: 
 NFD: d8d4d986566403e1b9b58f13129150a54157f82b 
 NRD: ea56c614fe3065d3eee933c49a916ce48feae399 
 ndn-cpp-dev: 1c5a1a901e5430768310925e4d34fc270b97b58b 


 Setup: 
 (the conf file is same as sample with authorization block commented out).  
 ~$ NFD=1 NRD=1 NFD_LOG=all ./build/nfd     


 ~$ NFD=1 ./build nrd  

 NRD shows the following messages when producer application is started.  
 ~$ ./build/examples/producer  

 (Messages from nrd:) 
 IncomingFaceId: 18446744073709551615 
 Received options (name, faceid, cost): /localhost/testApp, 18446744073709551615, 0 
 Error: Face not found 

 </pre> 

 Related to: Bug #1382 

Back