From db950be85d37eab40d8fffe0bc2060059f8a7e10 Mon Sep 17 00:00:00 2001 From: Jan Just Keijser Date: Wed, 20 May 2015 04:33:20 +0200 Subject: include ifconfig_ environment variables in --up-restart env set here's my patch for bug #93: missing ifconfig_* env vars after up-restart. Tested with both IPv4, IPv6, topology subnet and topology net30 Document differences between --up-restart and --up in openvpn.8 See trac #93 and the discussion starting with <555BF270.3090706@nikhef.nl> on the openvpn-devel mailing list. fix trac #93 Acked-by: Gert Doering Message-Id: <555BF270.3090706@nikhef.nl> URL: http://article.gmane.org/gmane.network.openvpn.devel/9705 Signed-off-by: Gert Doering --- src/openvpn/tun.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/openvpn/tun.h') diff --git a/src/openvpn/tun.h b/src/openvpn/tun.h index 79e2d18..65bacac 100644 --- a/src/openvpn/tun.h +++ b/src/openvpn/tun.h @@ -241,6 +241,9 @@ void init_tun_post (struct tuntap *tt, const struct frame *frame, const struct tuntap_options *options); +void do_ifconfig_setenv (const struct tuntap *tt, + struct env_set *es); + void do_ifconfig (struct tuntap *tt, const char *actual, /* actual device name */ int tun_mtu, -- cgit