tools: adapt to ndn-cxx SegmentFetcher API change
Refs: #2734
Change-Id: Ibce8942007d0b26f34b212140a7b4313c4b6a397
diff --git a/tools/nfdc.cpp b/tools/nfdc.cpp
index 0b5d889..fcb808f 100644
--- a/tools/nfdc.cpp
+++ b/tools/nfdc.cpp
@@ -161,7 +161,7 @@
auto interest = std::make_shared<ndn::Interest>(interestPacket);
ndn::util::SegmentFetcher::fetch(m_face, *interest,
- ndn::util::DontVerifySegment(),
+ m_validator,
bind(&FaceIdFetcher::onQuerySuccess,
this, _1, canonicalUri),
bind(&FaceIdFetcher::onQueryFailure,