mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 15:48:20 +00:00
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>
This commit is contained in:
committed by
Blue Swirl
parent
c7eb1f02ed
commit
c3febae62b
@ -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)
|
||||||
|
Reference in New Issue
Block a user