0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/tun/client
James Yonan 7cbac69e3d Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags
This change replaces the boolean add_bypass_routes with a new
flags parameter -- set the TunConfigFlags::ADD_BYPASS_ROUTES
flag to achieve the same functionality.

We also add some new flags for finer-grained control over
actions taken by tun_config:

* TunConfigFlags::DISABLE_IFACE_UP -- disable bringing the interface up

* TunConfigFlags::DISABLE_REROUTE_GW -- disable redirect-gateway

Signed-off-by: James Yonan <james@openvpn.net>
2021-11-24 13:18:35 -07:00
..
dhcp_capture.hpp Update copyrights 2020-03-18 19:37:32 +01:00
emuexr.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunbase.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunconfigflags.hpp Linux tun_config(): added a flags parameter to subsume add_bypass_routes and create space for new flags 2021-11-24 13:18:35 -07:00
tunnull.hpp Update copyrights 2020-03-18 19:37:32 +01:00
tunprop.hpp TunProp::configure_builder: allow server_addr to be undefined 2021-11-24 13:18:35 -07:00