From 0aee9ca7e76887fb5752c15ef63bfb7a356df06e Mon Sep 17 00:00:00 2001 From: james Date: Mon, 21 Jan 2008 19:34:13 +0000 Subject: Allow OpenVPN to run completely unprivileged under Linux by allowing openvpn --mktun to be used with --user and --group to set the UID/GID of the tun device node. Also added --iproute option to allow an alternative command to be executed in place of the default iproute2 command (Alon Bar-Lev). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2639 e7ae566f-a301-0410-adde-c780ea21d3b5 --- misc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'misc.h') diff --git a/misc.h b/misc.h index 09124e6..5b7f227 100644 --- a/misc.h +++ b/misc.h @@ -269,4 +269,11 @@ void configure_path (void); void get_user_pass_auto_userid (struct user_pass *up, const char *tag); #endif +/* + * /sbin/ip path, may be overridden + */ +#ifdef CONFIG_FEATURE_IPROUTE +extern const char *iproute_path; +#endif + #endif -- cgit