mirror of
https://github.com/simh/simh.git
synced 2026-01-30 13:27:50 +00:00
ETHER: Really fix the Linux and macOS tap functionality
Really fix #1230
This commit is contained in:
@@ -2922,6 +2922,7 @@ if (0 == strncmp("tap:", savname, 4)) {
|
||||
}
|
||||
else {
|
||||
*eth_api = ETH_API_TAP;
|
||||
*handle = (void *)1; /* Flag used to indicated open */
|
||||
*fd_handle = (SOCKET)tun;
|
||||
strcpy(savname, ifr.ifr_name);
|
||||
return SCPE_OK;
|
||||
@@ -2983,6 +2984,7 @@ if (0 == strncmp("tap:", savname, 4)) {
|
||||
}
|
||||
else {
|
||||
*eth_api = ETH_API_TAP;
|
||||
*handle = (void *)1; /* Flag used to indicated open */
|
||||
*fd_handle = (SOCKET)tun;
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user