Fix bug 68. Implement IsMulticast
This commit is contained in:
1 parent
a8615eb667
commit
3ce31e418b
1 file changed
+5
-2
@@ -171,8 +171,11 @@ Ipv4Address::IsBroadcast (void) const
|
||||
bool
|
||||
Ipv4Address::IsMulticast (void) const
|
||||
{
|
||||
// XXX
|
||||
return false;
|
||||
//
|
||||
// Multicast addresses are defined as ranging from 224.0.0.0 through
|
||||
// 239.255.255.255 (which is E0000000 through EFFFFFFF in hex).
|
||||
//
|
||||
return (m_address >= 0xe0000000 && m_address <= 0xefffffff);
|
||||
}
|
||||
|
||||
uint32_t
|
||||
|
||||
Reference in new issue
Block a user