1.1 --- a/src/node/ipv4-address-generator.cc Mon Apr 07 21:39:40 2008 -0700
1.2 +++ b/src/node/ipv4-address-generator.cc Tue Apr 08 23:10:11 2008 -0700
1.3 @@ -277,11 +277,11 @@
1.4 //
1.5 if (addr >= (*i).addrLow && addr <= (*i).addrHigh)
1.6 {
1.7 - NS_LOG_LOGIC ("Ipv4AddressGeneratorImpl::Add(): Address Collision");
1.8 + NS_LOG_LOGIC ("Ipv4AddressGeneratorImpl::Add(): Address Collision: " << Ipv4Address (addr));
1.9 if (!m_test)
1.10 {
1.11 NS_ASSERT_MSG (0,
1.12 - "Ipv4AddressGeneratorImpl::Add(): Address Collision");
1.13 + "Ipv4AddressGeneratorImpl::Add(): Address Collision: " << Ipv4Address (addr));
1.14 }
1.15 return false;
1.16 }
1.17 @@ -308,11 +308,12 @@
1.18 if (addr == (*j).addrLow)
1.19 {
1.20 NS_LOG_LOGIC ("Ipv4AddressGeneratorImpl::Add(): "
1.21 - "Address Collision");
1.22 + "Address Collision: " << Ipv4Address (addr));
1.23 if (!m_test)
1.24 {
1.25 NS_ASSERT_MSG (0,
1.26 - "Ipv4AddressGeneratorImpl::Add(): Address Collision");
1.27 + "Ipv4AddressGeneratorImpl::Add(): "
1.28 + "Address Collision: " << Ipv4Address (addr));
1.29 }
1.30 return false;
1.31 }