Fix compatibility with TAP-Win32 9.0.0.21 and later.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 18 Jan 2016 12:58:46 +0000 (13:58 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 18 Jan 2016 12:58:46 +0000 (13:58 +0100)
commit72bd8dbb86edf54117c5c062cbb93f2bc1f8b729
treef6b55ee321d3b3ddda6dcad4fb095dd6996c37a4
parent8677b839dcd343277e1e519a2d40c8bd0a980dd5
Fix compatibility with TAP-Win32 9.0.0.21 and later.

Tinc was a bit sloppy writing packets to the TAP-Win32 device using
overlapped I/O. It worked with older versions of the driver, but it
caused lots of dropped packets with newer versions of the driver (that
use the NDIS 6 API).
src/mingw/device.c