tools: fix compilation error due to ndn-cxx RouteFlags change
refs #3903
Change-Id: I799291d51d2b96ea1f7f8d07d000ae2c12300cf1
diff --git a/tools/nfdc/rib-module.cpp b/tools/nfdc/rib-module.cpp
index 295ad3f..4342894 100644
--- a/tools/nfdc/rib-module.cpp
+++ b/tools/nfdc/rib-module.cpp
@@ -94,8 +94,8 @@
.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));
}