check yggdrasil ipv6 range

This commit is contained in:
orignal 2021-01-24 21:21:35 -05:00
parent 07282ec39f
commit ed4c00e4f4
2 changed files with 5 additions and 2 deletions

View file

@ -189,7 +189,7 @@ namespace util
int GetMTU (const boost::asio::ip::address& localAddress);
const boost::asio::ip::address GetInterfaceAddress (const std::string & ifname, bool ipv6=false);
boost::asio::ip::address_v6 GetYggdrasilAddress ();
bool IsInReservedRange (const boost::asio::ip::address& host);
bool IsInReservedRange (const boost::asio::ip::address& host, bool checkYggdrasil = true);
}
}
}