]> git.meshlink.io Git - meshlink/commitdiff
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 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();