Enabling app-layer tracing
Network-layer tracing is not working yet (needs a couple of attributes
to be implemented)
diff --git a/model/ccnx-face.cc b/model/ccnx-face.cc
index 40ac57b..ec35d8b 100644
--- a/model/ccnx-face.cc
+++ b/model/ccnx-face.cc
@@ -32,6 +32,16 @@
namespace ns3 {
+TypeId
+CcnxFace::GetTypeId ()
+{
+ static TypeId tid = TypeId ("ns3::CcnxFace")
+ .SetParent<Object> ()
+ .SetGroupName ("Ccnx")
+ ;
+ return tid;
+}
+
/**
* By default, Ccnx face are created in the "down" state
* with no IP addresses. Before becoming useable, the user must
@@ -79,6 +89,7 @@
NS_LOG_FUNCTION_NOARGS ();
/// \todo Implement tracing, if requested
+
if (!IsUp ())
return false;