rib: recognize /localhop/nfd HUB prefix in RemoteRegistrator
Change-Id: If4d29b17e381f121d025ee8a9a52466a68e46a83
refs: #2412
diff --git a/tests/rib/remote-registrator.cpp b/tests/rib/remote-registrator.cpp
index 8e30218..9caf345 100644
--- a/tests/rib/remote-registrator.cpp
+++ b/tests/rib/remote-registrator.cpp
@@ -164,7 +164,7 @@
void
connectToHub()
{
- rib.insert(COMMAND_PREFIX, Route());
+ rib.insert(Name("/localhop/nfd"), Route());
advanceClocks(time::milliseconds(1));
}
@@ -172,7 +172,7 @@
void
disconnectToHub()
{
- rib.erase(COMMAND_PREFIX, Route());
+ rib.erase(Name("/localhop/nfd"), Route());
advanceClocks(time::milliseconds(1));
}