Many corrections to face/local-face/net-device-face/fib/pit. Now
interest packets actually go down to ccnx stack. Also, now it is
possible to manually configure FIB entries.
CcnxFib now is an object aggregated to the node
diff --git a/apps/ccnx-interest-sender.cc b/apps/ccnx-interest-sender.cc
index c3ecc59..bcf3d76 100644
--- a/apps/ccnx-interest-sender.cc
+++ b/apps/ccnx-interest-sender.cc
@@ -37,10 +37,11 @@
TimeValue (Seconds (0.1)),
MakeTimeAccessor (&CcnxInterestSender::m_offTime),
MakeTimeChecker ())
- .AddAttribute ("Face","Local face to be used",
- PointerValue (CreateObject<CcnxLocalFace> ()),
- MakePointerAccessor (&CcnxInterestSender::m_face),
- MakePointerChecker<CcnxLocalFace> ())
+ // Alex: this is incorrect. SetNode call is not called if face is created using this accessor
+ // .AddAttribute ("Face","Local face to be used",
+ // PointerValue (CreateObject<CcnxLocalFace> ()),
+ // MakePointerAccessor (&CcnxInterestSender::m_face),
+ // MakePointerChecker<CcnxLocalFace> ())
.AddAttribute ("NameComponents","CcnxName of the Interest (use CcnxNameComponents)",
CcnxNameComponentsValue (CcnxNameComponents (/* root */)),
MakeCcnxNameComponentsAccessor (&CcnxInterestSender::m_interestName),