diff options
author | Pavel Dovgaluk <Pavel.Dovgaluk@ispras.ru> | 2011-02-21 14:47:50 +0300 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-25 15:14:04 +0000 |
commit | c3febae62b646b5bc7aa88b7cffa88160162a94e (patch) | |
tree | 5c98ccea8e1c28c49183f75e7bd34a28401ec645 /net/tap-win32.c | |
parent | c7eb1f02edba91e3eec4682fa1adca877696d11d (diff) |
Fixing tap adapter for win32
This fix allows connection of internal VLAN to the external TAP interface.
If tap_win32_write function always returns 0, the TAP network interface
in QEMU is disabled.
Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'net/tap-win32.c')
-rw-r--r-- | net/tap-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tap-win32.c b/net/tap-win32.c index 081904e8d7..596132e272 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -480,7 +480,7 @@ static int tap_win32_write(tap_win32_overlapped_t *overlapped, } } - return 0; + return write_size; } static DWORD WINAPI tap_win32_thread_entry(LPVOID param) |