From c1e02d5d3b64db1c2c8402837941e4a4e4a5ffb1 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Fri, 7 Nov 2008 07:35:35 -0800 Subject: [PATCH] Allow /32 addresses to be configured via Ipv4AddressHelper --- src/helper/ipv4-address-helper.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/helper/ipv4-address-helper.cc b/src/helper/ipv4-address-helper.cc index be2a3ddbb..ebdd11da4 100644 --- a/src/helper/ipv4-address-helper.cc +++ b/src/helper/ipv4-address-helper.cc @@ -64,9 +64,6 @@ Ipv4AddressHelper::SetBase ( NS_ASSERT_MSG((m_network & ~m_mask) == 0, "Ipv4AddressHelper::SetBase(): Inconsistent network and mask"); - NS_ASSERT_MSG((m_address & m_mask) == 0, - "Ipv4AddressHelper::SetBase(): Inconsistent address and mask"); - // // Figure out how much to shift network numbers to get them aligned, and what // the maximum allowed address is with respect to the current mask.