Name: Change to not use the deprecated addComponent.
diff --git a/src/node.cpp b/src/node.cpp
index 168d446..d8bcb09 100644
--- a/src/node.cpp
+++ b/src/node.cpp
@@ -219,10 +219,10 @@
Name interestName;
const uint8_t component0[] = "ndnx";
const uint8_t component2[] = "selfreg";
- interestName.addComponent(component0, sizeof(component0) - 1);
- interestName.addComponent(ndndId_);
- interestName.addComponent(component2, sizeof(component2) - 1);
- interestName.addComponent(encodedData);
+ interestName.append(component0, sizeof(component0) - 1);
+ interestName.append(ndndId_);
+ interestName.append(component2, sizeof(component2) - 1);
+ interestName.append(encodedData);
Interest interest(interestName);
interest.setScope(1);