--- a/src/network/utils/ipv6-address.cc Wed Dec 12 04:50:46 2012 -0500
+++ b/src/network/utils/ipv6-address.cc Wed Dec 12 10:23:05 2012 -0800
@@ -258,13 +258,13 @@
Ipv6Address::Ipv6Address (Ipv6Address const& addr)
{
- NS_LOG_FUNCTION (this << addr);
+ // Do not add function logging here, to avoid stack overflow
memcpy (m_address, addr.m_address, 16);
}
Ipv6Address::Ipv6Address (Ipv6Address const* addr)
{
- NS_LOG_FUNCTION (this << addr);
+ // Do not add function logging here, to avoid stack overflow
memcpy (m_address, addr->m_address, 16);
}