Fix to Ipv6Interface - missing initialization value

This commit is contained in:
Tommaso Pecorella
2012-02-21 03:08:34 +01:00
parent ce9b1a836d
commit 812efad2ba

View File

@@ -48,6 +48,7 @@ Ipv6Interface::Ipv6Interface ()
m_metric (1),
m_node (0),
m_device (0),
m_ndCache (0),
m_curHopLimit (0),
m_baseReachableTime (0),
m_reachableTime (0),
@@ -64,6 +65,9 @@ Ipv6Interface::~Ipv6Interface ()
void Ipv6Interface::DoDispose ()
{
NS_LOG_FUNCTION_NOARGS ();
m_node = 0;
m_device = 0;
m_ndCache = 0;
Object::DoDispose ();
}