rename interfaces() -> broadcasts()

This commit is contained in:
Michael Davidsaver
2021-08-04 07:45:49 -07:00
parent 52625e7430
commit d6bf565ed6
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ void evsocket::mcast_iface(const SockAddr& iface) const
// IPV6_MULTICAST_IF
}
std::vector<SockAddr> evsocket::interfaces(const SockAddr* match)
std::vector<SockAddr> evsocket::broadcasts(const SockAddr* match)
{
if(match && match->family()!=AF_INET) {
throw std::logic_error("osiSockDiscoverBroadcastAddresses() only understands AF_INET");