diff --git a/src/beast/beast/net/impl/IPAddressV4.cpp b/src/beast/beast/net/impl/IPAddressV4.cpp index ce1f33a697..223445fb3c 100644 --- a/src/beast/beast/net/impl/IPAddressV4.cpp +++ b/src/beast/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); } //------------------------------------------------------------------------------