apps+examples: Adjust Face creation and Face operations for NFD 0.4+ model
Change-Id: Ib0fb0f49a550c77a9bd94729cdf6fb3b11d1e8ab
Refs: #3560
diff --git a/apps/ndn-producer.cpp b/apps/ndn-producer.cpp
index a1a63ab..5be9241 100644
--- a/apps/ndn-producer.cpp
+++ b/apps/ndn-producer.cpp
@@ -24,7 +24,6 @@
#include "ns3/packet.h"
#include "ns3/simulator.h"
-#include "model/ndn-app-face.hpp"
#include "model/ndn-ns3.hpp"
#include "model/ndn-l3-protocol.hpp"
#include "helper/ndn-fib-helper.hpp"
@@ -130,7 +129,7 @@
data->wireEncode();
m_transmittedDatas(data, this, m_face);
- m_face->onReceiveData(*data);
+ m_appLink->onReceiveData(*data);
}
} // namespace ndn