Allow /32 addresses to be configured via Ipv4AddressHelper

This commit is contained in:
Tom Henderson
2008-11-07 07:35:35 -08:00
parent 81c8a200d9
commit c1e02d5d3b

View File

@@ -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.