X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fmingw%2Fdevice.c;h=6d916ba573c27841a01bf6ab7f7d99b0b56fd6bd;hb=ab6f76f6a9fc8028fff96322a52b770710ffa1a9;hp=004249ce49f82efc94b9bb0c775cdd7012184770;hpb=03f3fc01e8d9402c4a14904fded883ff8cc574f6;p=tinc diff --git a/src/mingw/device.c b/src/mingw/device.c index 004249ce..6d916ba5 100644 --- a/src/mingw/device.c +++ b/src/mingw/device.c @@ -1,7 +1,7 @@ /* device.c -- Interaction with Windows tap driver in a MinGW environment Copyright (C) 2002-2005 Ivo Timmermans, - 2002-2006 Guus Sliepen + 2002-2007 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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();