diff --git a/osdep/Binder.hpp b/osdep/Binder.hpp index 3744ee8a6..f55fa5c8d 100644 --- a/osdep/Binder.hpp +++ b/osdep/Binder.hpp @@ -336,6 +336,7 @@ class Binder { // if this is a temporary IPv6 address, skip to the next address if (flags & IN6_IFF_TEMPORARY) { + close(infoSock); char buf[64]; #ifdef ZT_TRACE fprintf(stderr, "skip binding to temporary IPv6 address: %s\n", ip.toIpString(buf));