rib: Fixing incorrect usage of RibRegisterCommand in RibManager::unregisterEntry
Change-Id: I3ef4a46ae6a012a4424e088369563bb590f330b1
Fixes: #1548
diff --git a/rib/rib-manager.cpp b/rib/rib-manager.cpp
index 3594a71..916ed93 100644
--- a/rib/rib-manager.cpp
+++ b/rib/rib-manager.cpp
@@ -226,7 +226,7 @@
RibManager::unregisterEntry(const shared_ptr<const Interest>& request,
ControlParameters& parameters)
{
- ndn::nfd::RibRegisterCommand command;
+ ndn::nfd::RibUnregisterCommand command;
if (!validateParameters(command, parameters))
{