--- a/src/internet-node/arp-l3-protocol.cc Tue Mar 11 11:35:26 2008 -0700
+++ b/src/internet-node/arp-l3-protocol.cc Tue Mar 11 13:30:12 2008 -0700
@@ -42,11 +42,6 @@
{
static TypeId tid = TypeId ("ArpL3Protocol")
.SetParent<Object> ()
- .AddAttribute ("Node", "The node to which this protocol is associated.",
- TypeId::ATTR_GET | TypeId::ATTR_CONSTRUCT,
- Ptr<Node> (0),
- MakePtrAccessor (&ArpL3Protocol::m_node),
- MakePtrChecker<Node> ())
;
return tid;
}
@@ -62,6 +57,12 @@
}
void
+ArpL3Protocol::SetNode (Ptr<Node> node)
+{
+ m_node = node;
+}
+
+void
ArpL3Protocol::DoDispose (void)
{
NS_LOG_FUNCTION;