mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 04:53:44 +02:00
Warning removal.
This commit is contained in:
parent
dad160209e
commit
8203547cfc
1 changed files with 1 additions and 1 deletions
|
@ -1118,7 +1118,7 @@ static int testPhy()
|
||||||
unsigned long phyTestTcpInvalidConnectionsAttempted = 0;
|
unsigned long phyTestTcpInvalidConnectionsAttempted = 0;
|
||||||
|
|
||||||
std::cout << "[phy] Testing UDP send/receive... "; std::cout.flush();
|
std::cout << "[phy] Testing UDP send/receive... "; std::cout.flush();
|
||||||
uint64_t timeoutAt = OSUtils::now() + ZT_TEST_PHY_TIMEOUT_MS;
|
int64_t timeoutAt = OSUtils::now() + ZT_TEST_PHY_TIMEOUT_MS;
|
||||||
while ((OSUtils::now() < timeoutAt)&&(phyTestUdpPacketCount < ZT_TEST_PHY_NUM_UDP_PACKETS)) {
|
while ((OSUtils::now() < timeoutAt)&&(phyTestUdpPacketCount < ZT_TEST_PHY_NUM_UDP_PACKETS)) {
|
||||||
if (phyTestUdpPacketsSent < ZT_TEST_PHY_NUM_UDP_PACKETS) {
|
if (phyTestUdpPacketsSent < ZT_TEST_PHY_NUM_UDP_PACKETS) {
|
||||||
if (!testPhyInstance->udpSend(udpListenSock,(const struct sockaddr *)&bindaddr,udpTestPayload,sizeof(udpTestPayload))) {
|
if (!testPhyInstance->udpSend(udpListenSock,(const struct sockaddr *)&bindaddr,udpTestPayload,sizeof(udpTestPayload))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue