diff options
Diffstat (limited to 'src/openvpn/tun.h')
-rw-r--r-- | src/openvpn/tun.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/openvpn/tun.h b/src/openvpn/tun.h index c3fc62e..63e4b5c 100644 --- a/src/openvpn/tun.h +++ b/src/openvpn/tun.h @@ -297,6 +297,17 @@ ifconfig_order(void) #endif } +#define ROUTE_BEFORE_TUN 0 +#define ROUTE_AFTER_TUN 1 +#define ROUTE_ORDER_DEFAULT ROUTE_AFTER_TUN + +static inline int +route_order(void) +{ + return ROUTE_ORDER_DEFAULT; +} + + #ifdef WIN32 #define TUN_PASS_BUFFER |