server: add read configuration file function
Change-Id: I6a3fe8208219a18e0a67b791dedb6b93d5e9caab
diff --git a/ndn-handle/delete-handle.cpp b/ndn-handle/delete-handle.cpp
index 8e1130c..ba9619b 100644
--- a/ndn-handle/delete-handle.cpp
+++ b/ndn-handle/delete-handle.cpp
@@ -88,7 +88,7 @@
void
DeleteHandle::listen(const Name& prefix)
{
- getFace().setInterestFilter(prefix,
+ getFace().setInterestFilter(Name(prefix).append("delete"),
bind(&DeleteHandle::onInterest, this, _1, _2),
bind(&DeleteHandle::onRegisterFailed, this, _1, _2));
}