Tapreader socket should be bound to localhost only.
[oweals/tinc.git] / src / mingw / device.c
index 004249ce49f82efc94b9bb0c775cdd7012184770..042407a22ff24fea92f97b1457a839649da0fcd6 100644 (file)
@@ -143,7 +143,7 @@ bool setup_device(void)
                .ai_family = AF_UNSPEC,
                .ai_socktype = SOCK_STREAM,
                .ai_protocol = IPPROTO_TCP,
-               .ai_flags = AI_PASSIVE,
+               .ai_flags = 0,
        };
 
        cp();