Allow /32 addresses to be configured via Ipv4AddressHelper
authorTom Henderson <tomh@tomh.org>
Fri Nov 07 07:35:35 2008 -0800 (15 months ago)
changeset 39259af06b55e945
parent 3924 849438d10d1d
child 3926 c791fdb74629
Allow /32 addresses to be configured via Ipv4AddressHelper
src/helper/ipv4-address-helper.cc
     1.1 --- a/src/helper/ipv4-address-helper.cc	Tue Apr 28 17:39:32 2009 +0100
     1.2 +++ b/src/helper/ipv4-address-helper.cc	Fri Nov 07 07:35:35 2008 -0800
     1.3 @@ -64,9 +64,6 @@
     1.4    NS_ASSERT_MSG((m_network & ~m_mask) == 0,
     1.5      "Ipv4AddressHelper::SetBase(): Inconsistent network and mask");
     1.6  
     1.7 -  NS_ASSERT_MSG((m_address & m_mask) == 0,
     1.8 -    "Ipv4AddressHelper::SetBase(): Inconsistent address and mask");
     1.9 -
    1.10  //
    1.11  // Figure out how much to shift network numbers to get them aligned, and what
    1.12  // the maximum allowed address is with respect to the current mask.