mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-18 23:28:23 +00:00
A bit of code cleanup.
This commit is contained in:
@ -926,7 +926,7 @@ public:
|
||||
for(json::iterator v(virt.begin());v!=virt.end();++v) {
|
||||
const std::string nstr = v.key();
|
||||
if ((nstr.length() == ZT_ADDRESS_LENGTH_HEX)&&(v.value().is_object())) {
|
||||
const Address ztaddr(nstr.c_str());
|
||||
const Address ztaddr(Utils::hexStrToU64(nstr.c_str()));
|
||||
if (ztaddr) {
|
||||
const uint64_t ztaddr2 = ztaddr.toInt();
|
||||
std::vector<InetAddress> &v4h = _v4Hints[ztaddr2];
|
||||
|
Reference in New Issue
Block a user