model: Another set of refactoring/renaming to make code compile (not tested yet)
Refs #1005 (http://redmine.named-data.net/)
diff --git a/test/ndnSIM-fib-entry.cc b/test/ndnSIM-fib-entry.cc
index 05d0e01..8eda994 100644
--- a/test/ndnSIM-fib-entry.cc
+++ b/test/ndnSIM-fib-entry.cc
@@ -62,14 +62,12 @@
void
SendPacket (const std::string &prefix, uint32_t nonce)
{
- Ptr<Packet> pkt = Create<Packet> (0);
- ndn::Interest i;
- i.SetName (Create<ndn::Name> (prefix));
- i.SetNonce (nonce);
- i.SetInterestLifetime (Seconds (0.5));
+ Ptr<ndn::Interest> interest;
+ interest->SetName (Create<ndn::Name> (prefix));
+ interest->SetNonce (nonce);
+ interest->SetInterestLifetime (Seconds (0.5));
- pkt->AddHeader (i);
- m_protocolHandler (pkt);
+ m_face->ReceiveInterest (interest);
}
};