Tapreader socket should be bound to localhost only.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 4 Jan 2007 15:28:36 +0000 (15:28 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 4 Jan 2007 15:28:36 +0000 (15:28 +0000)
src/mingw/device.c

index 004249c..042407a 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();