提交 c3febae6 编写于 作者: P Pavel Dovgaluk 提交者: Blue Swirl

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: NPavel Dovgalyuk <pavel.dovgaluk@gmail.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 c7eb1f02
...@@ -480,7 +480,7 @@ static int tap_win32_write(tap_win32_overlapped_t *overlapped, ...@@ -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) static DWORD WINAPI tap_win32_thread_entry(LPVOID param)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册