From a9e4370b3836340fc7a493f41e7c2ec2027ed80c Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 19 Oct 2025 16:16:31 -1000 Subject: [PATCH] ETHER: Really fix the Linux and macOS tap functionality Really fix #1230 --- sim_ether.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sim_ether.c b/sim_ether.c index 70065ef6..4f798870 100644 --- a/sim_ether.c +++ b/sim_ether.c @@ -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; }