diff --git a/beast/net/impl/IPAddressV4.cpp b/beast/net/impl/IPAddressV4.cpp index ce1f33a69..223445fb3 100644 --- a/beast/net/impl/IPAddressV4.cpp +++ b/beast/net/impl/IPAddressV4.cpp @@ -147,8 +147,7 @@ bool is_public (AddressV4 const& addr) { return ! is_private (addr) && - ! is_multicast (addr) && - (addr != AddressV4::broadcast (addr)); + ! is_multicast (addr); } //------------------------------------------------------------------------------