Face: in OnInterest callback for registerPrefix, added registeredPrefixId argument.
diff --git a/ndn-cpp/node.cpp b/ndn-cpp/node.cpp
index b0df607..30c0573 100644
--- a/ndn-cpp/node.cpp
+++ b/ndn-cpp/node.cpp
@@ -268,7 +268,7 @@
RegisteredPrefix *entry = getEntryForRegisteredPrefix(interest->getName());
if (entry)
- entry->getOnInterest()(entry->getPrefix(), interest, *transport_);
+ entry->getOnInterest()(entry->getPrefix(), interest, *transport_, entry->getRegisteredPrefixId());
}
else if (decoder.peekDTag(ndn_BinaryXml_DTag_ContentObject)) {
shared_ptr<Data> data(new Data());