(network): Remove deprecated Ipv6Address::IsAllHostMulticast ()
This commit is contained in:
@@ -785,13 +785,6 @@ bool Ipv6Address::IsAllRoutersMulticast () const
|
||||
return (*this == allroutersI || *this == allroutersL || *this == allroutersR || *this == allroutersS);
|
||||
}
|
||||
|
||||
bool Ipv6Address::IsAllHostsMulticast () const
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
static Ipv6Address allhosts ("ff02::3");
|
||||
return (*this == allhosts);
|
||||
}
|
||||
|
||||
bool Ipv6Address::IsAny () const
|
||||
{
|
||||
NS_LOG_FUNCTION (this);
|
||||
|
||||
@@ -280,16 +280,6 @@ public:
|
||||
*/
|
||||
bool IsAllRoutersMulticast () const;
|
||||
|
||||
/**
|
||||
* \brief If the IPv6 address is "all hosts multicast" (ff02::3/8).
|
||||
*
|
||||
* \deprecated This function is deprecated because the address has been removed from RFCs.
|
||||
*
|
||||
* \return true if "all hosts multicast", false otherwise
|
||||
*/
|
||||
NS_DEPRECATED
|
||||
bool IsAllHostsMulticast () const;
|
||||
|
||||
/**
|
||||
* \brief If the IPv6 address is a link-local address (fe80::/64).
|
||||
* \return true if the address is link-local, false otherwise
|
||||
|
||||
Reference in New Issue
Block a user