fixed a bug

This commit is contained in:
MSharq 2018-10-23 15:37:09 +02:00
parent 30fdd103a2
commit 0c622863cf
1 changed files with 1 additions and 1 deletions

View File

@ -802,7 +802,7 @@ static int16 ether_do_write(uint32 arg)
write(slirp_input_fd, &len, sizeof(len));
write(slirp_input_fd, packet, len);
return noErr;
}
} else
#endif
if (net_if_type == NET_IF_VDE) {
if (fd == -1) { // which means vde service is not running