From: Guus Sliepen Date: Thu, 4 Jan 2007 15:28:36 +0000 (+0000) Subject: Tapreader socket should be bound to localhost only. X-Git-Tag: release-1.0.7~5 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=40f02ff8eee359dc0ccc898f8da319f56af161ad;p=tinc Tapreader socket should be bound to localhost only. --- diff --git a/src/mingw/device.c b/src/mingw/device.c index 004249ce..042407a2 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -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();