Remove use of deprecated version of Face::expressInterest
Change-Id: I9337665ffb08425cbd368f0a54d70143210e66bd
diff --git a/tools/ndns-update.cpp b/tools/ndns-update.cpp
index 0652677..881e0e7 100644
--- a/tools/ndns-update.cpp
+++ b/tools/ndns-update.cpp
@@ -73,6 +73,7 @@
NDNS_LOG_TRACE("[* <- *] send Update: " << m_update->getName().toUri());
m_face.expressInterest(interest,
bind(&NdnsUpdate::onData, this, _1, _2),
+ bind(&NdnsUpdate::onTimeout, this, _1), // nack
bind(&NdnsUpdate::onTimeout, this, _1) //dynamic binding
);
}