internet: (fixes #2671) fix misspell in ArpCache::Entry::SetMacAddress

This commit is contained in:
Tom Henderson
2017-03-16 23:28:16 +01:00
parent da9c857725
commit ba54ebd95c
3 changed files with 14 additions and 1 deletions

View File

@@ -99,7 +99,8 @@ Bugs fixed
- Bug 2655 - A-MPDU simulation using TCP sometimes fails with message "Packet has no Traffic ID"
- 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
Known issues
------------
In general, known issues are tracked on the project tracker available

View File

@@ -462,6 +462,12 @@ ArpCache::Entry::SetMacAddresss (Address macAddress)
NS_LOG_FUNCTION (this);
m_macAddress = macAddress;
}
void
ArpCache::Entry::SetMacAddress (Address macAddress)
{
NS_LOG_FUNCTION (this);
m_macAddress = macAddress;
}
Ipv4Address
ArpCache::Entry::GetIpv4Address (void) const
{

View File

@@ -242,8 +242,14 @@ public:
Ipv4Address GetIpv4Address (void) const;
/**
* \param macAddress The MacAddress for this entry
* \deprecated This (misspelled) method will go away in future versions of ns-3, in favor of the correctly spelled version.
*/
NS_DEPRECATED
void SetMacAddresss (Address macAddress);
/**
* \param macAddress The MacAddress for this entry
*/
void SetMacAddress (Address macAddress);
/**
* \param destination The Ipv4Address for this entry
*/