0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-19 19:52:15 +02:00

mac agent: reinstall host route during restart

The host route to the VPN server disappeared when a mac client, using
the agent, was reconnecting. That was causing --redirect-gateway tunnels
to break because no traffic could be sent anymore. Cause for this was
some internal state in the agent not being reset when the utun device
is temporarily removed during the restart.

Signed-off-by: Heiko Hund <heiko@openvpn.net>
This commit is contained in:
Heiko Hund 2024-06-11 15:45:44 +02:00
parent 19bec178fb
commit 1477df691e

View File

@ -290,6 +290,7 @@ class MyListener : public WS::Server::Listener
remove_cmds_bypass_hosts.execute(os);
remove_cmds_bypass_hosts.clear();
bypass_host.clear();
}
void set_watchdog(pid_t pid)