Fix for missing broadcast address on Linux Ethernet taps.
This commit is contained in:
@@ -217,6 +217,14 @@ public:
|
||||
InetAddress netmask() const
|
||||
throw();
|
||||
|
||||
/**
|
||||
* Constructs a broadcast address from a network/netmask address
|
||||
*
|
||||
* @return Broadcast address (only IP portion is meaningful)
|
||||
*/
|
||||
InetAddress broadcast() const
|
||||
throw();
|
||||
|
||||
/**
|
||||
* @return True if this is an IPv4 address
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user