Skip to content

Commit

Permalink
link: linkconfiguration: Use new NetworkManager functions
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Dec 14, 2021
1 parent b02f2da commit 863f9be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/link/linkconfiguration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ int LinkConfiguration::udpPort() const
return _linkConf.args[1].toInt();
}

bool LinkConfiguration::isInSubnet() const { return NetworkManager::isIpInSubnet(udpHost()); }
bool LinkConfiguration::isInSubnet() const { return NetworkManager::isAddressInSubnet(udpHost()); }

bool LinkConfiguration::isSubnetBroadcast() const { return NetworkManager::isIpSubnetBroadcast(udpHost()); }
bool LinkConfiguration::isSubnetBroadcast() const { return NetworkManager::isAddressSubnetBroadcast(udpHost()); }

bool operator==(const LinkConfiguration& first, const LinkConfiguration& second)
{
Expand Down

0 comments on commit 863f9be

Please sign in to comment.