Project

General

Profile

Bug #1630

Updated by Alex Afanasyev almost 10 years ago

NFD requires FaceId to be present in the control command, even for "self-registrations". 

 There are 2 ways to fix it: 

 
 - fix the protocol, so it doesn't requires this, since it is more obvious to omit FaceId than specify FaceId=0, which may need additional comment or constant to clarify that face 0 is actually "self" 

 - just update face-impl.hpp to add faceId as part of the parameters. 


 personally, I would go with protocol update.

Back