mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Whoops
This commit is contained in:
parent
203414910f
commit
409406d114
1 changed files with 1 additions and 1 deletions
|
@ -852,7 +852,7 @@ void LinuxNetLink::addAddress(const InetAddress &addr, const char *iface)
|
||||||
int interface_index = _indexForInterface(iface);
|
int interface_index = _indexForInterface(iface);
|
||||||
for (int reps = 0; interface_index == -1 && reps < 10; ++reps) {
|
for (int reps = 0; interface_index == -1 && reps < 10; ++reps) {
|
||||||
Thread::sleep(100);
|
Thread::sleep(100);
|
||||||
interface_index == _indexForInterface(iface);
|
interface_index = _indexForInterface(iface);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (interface_index == -1) {
|
if (interface_index == -1) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue