mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Fix circuit test post in controller.
This commit is contained in:
parent
d56f740dc6
commit
66dfc33de9
1 changed files with 2 additions and 0 deletions
|
@ -758,9 +758,11 @@ unsigned int EmbeddedNetworkController::handleControlPlaneHttpPOST(
|
||||||
std::string s = hops2[j];
|
std::string s = hops2[j];
|
||||||
test->hops[test->hopCount].addresses[test->hops[test->hopCount].breadth++] = Utils::hexStrToU64(s.c_str()) & 0xffffffffffULL;
|
test->hops[test->hopCount].addresses[test->hops[test->hopCount].breadth++] = Utils::hexStrToU64(s.c_str()) & 0xffffffffffULL;
|
||||||
}
|
}
|
||||||
|
++test->hopCount;
|
||||||
} else if (hops2.is_string()) {
|
} else if (hops2.is_string()) {
|
||||||
std::string s = hops2;
|
std::string s = hops2;
|
||||||
test->hops[test->hopCount].addresses[test->hops[test->hopCount].breadth++] = Utils::hexStrToU64(s.c_str()) & 0xffffffffffULL;
|
test->hops[test->hopCount].addresses[test->hops[test->hopCount].breadth++] = Utils::hexStrToU64(s.c_str()) & 0xffffffffffULL;
|
||||||
|
++test->hopCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue