nrd: Added interest filter for /localhop/nrd
refs #1323
Change-Id: Ib97e772a3111b75216ed3b666bad23230f1ed41f
diff --git a/tests/test-rib.cpp b/tests/test-rib.cpp
index c9a5dff..4360175 100644
--- a/tests/test-rib.cpp
+++ b/tests/test-rib.cpp
@@ -22,12 +22,12 @@
options1.setName("/hello/world");
options1.setFlags(tlv::nrd::NDN_FORW_CHILD_INHERIT | tlv::nrd::NDN_FORW_CAPTURE);
options1.setCost(10);
- options1.setExpirationPeriod(1500);
+ options1.setExpirationPeriod(time::milliseconds(1500));
PrefixRegOptions options2;
options2.setName("/hello/world");
options2.setFlags(tlv::nrd::NDN_FORW_CHILD_INHERIT);
- options2.setExpirationPeriod(0);
+ options2.setExpirationPeriod(time::seconds(0));
rib.insert(options1);
BOOST_CHECK_EQUAL(rib.size(), 1);