Fix for missing broadcast address on Linux Ethernet taps.
This commit is contained in:
parent
4dbeb97eb9
commit
6df9546742
3 changed files with 37 additions and 2 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue