tools: fix compilation error due to ndn-cxx RouteFlags change

refs #3903

Change-Id: I799291d51d2b96ea1f7f8d07d000ae2c12300cf1
This commit is contained in:
Ashlesh Gawande authored and Junxiao Shi committed 2017-03-04 03:06:26 +00:00
1 parent 084b79553f
commit f7bf4093be
1 file changed
+2 -2
+2 -2
View File
@@ -94,8 +94,8 @@ RibModule::add(ExecuteContext& ctx)
.setFaceId(findFace.getFaceId())
.setOrigin(origin)
.setCost(cost)
.setFlags((wantChildInherit ? ndn::nfd::ROUTE_FLAG_CHILD_INHERIT : 0) |
(wantCapture ? ndn::nfd::ROUTE_FLAG_CAPTURE : 0));
.setFlags((wantChildInherit ? ndn::nfd::ROUTE_FLAG_CHILD_INHERIT : ndn::nfd::ROUTE_FLAGS_NONE) |
(wantCapture ? ndn::nfd::ROUTE_FLAG_CAPTURE : ndn::nfd::ROUTE_FLAGS_NONE));
if (expiresMillis) {
registerParams.setExpirationPeriod(time::milliseconds(*expiresMillis));
}