Remove use of deprecated version of Face::expressInterest
Change-Id: I9337665ffb08425cbd368f0a54d70143210e66bd
diff --git a/src/clients/iterative-query-controller.cpp b/src/clients/iterative-query-controller.cpp
index 899a35c..5a143a5 100644
--- a/src/clients/iterative-query-controller.cpp
+++ b/src/clients/iterative-query-controller.cpp
@@ -175,6 +175,7 @@
NDNS_LOG_DEBUG("[* <- *] send a Query: " << interest.getName());
m_face.expressInterest(interest,
bind(&IterativeQueryController::onData, this, _1, _2),
+ bind(&IterativeQueryController::onTimeout, this, _1), // nack
bind(&IterativeQueryController::onTimeout, this, _1)
);
}