apps+examples: Adjust Face creation and Face operations for NFD 0.4+ model
Change-Id: Ib0fb0f49a550c77a9bd94729cdf6fb3b11d1e8ab
Refs: #3560
diff --git a/apps/ndn-consumer.cpp b/apps/ndn-consumer.cpp
index 4d39bea..3a1ec45 100644
--- a/apps/ndn-consumer.cpp
+++ b/apps/ndn-consumer.cpp
@@ -30,7 +30,6 @@
#include "ns3/double.h"
#include "utils/ndn-ns3-packet-tag.hpp"
-#include "model/ndn-app-face.hpp"
#include "utils/ndn-rtt-mean-deviation.hpp"
#include <boost/lexical_cast.hpp>
@@ -198,7 +197,7 @@
WillSendOutInterest(seq);
m_transmittedInterests(interest, this, m_face);
- m_face->onReceiveInterest(*interest);
+ m_appLink->onReceiveInterest(*interest);
ScheduleNextPacket();
}