internet (fixes #2717) Fix Ipv4RoutingTableEntry default route
This commit is contained in:
@@ -100,6 +100,7 @@ Bugs fixed
|
||||
- Bug 2660 - TrafficControlHelper::Default should not configure internal queue sizes
|
||||
- Bug 2665 - Ipv4RawSocket can not send packets to broadcast or multicast
|
||||
- Bug 2671 - ArpCache::Entry::SetMacAddress is misspelled
|
||||
- Bug 2717 - Fix mask generation for Ipv4RoutingTableEntry::CreateDefaultRoute
|
||||
|
||||
Known issues
|
||||
------------
|
||||
|
||||
@@ -207,7 +207,7 @@ Ipv4RoutingTableEntry::CreateDefaultRoute (Ipv4Address nextHop,
|
||||
uint32_t interface)
|
||||
{
|
||||
NS_LOG_FUNCTION_NOARGS ();
|
||||
return Ipv4RoutingTableEntry (Ipv4Address::GetZero (), nextHop, interface);
|
||||
return Ipv4RoutingTableEntry (Ipv4Address::GetZero (), Ipv4Mask::GetZero (), nextHop, interface);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user