summaryrefslogtreecommitdiffstats
path: root/src/openvpn/tun.h
diff options
context:
space:
mode:
authorJan Just Keijser <janjust@nikhef.nl>2015-05-20 04:33:20 +0200
committerGert Doering <gert@greenie.muc.de>2015-05-23 13:18:00 +0200
commitdb950be85d37eab40d8fffe0bc2060059f8a7e10 (patch)
tree9b55d76cd2b73dbbb353b9eee6da27ead49e50aa /src/openvpn/tun.h
parentd3eacb2d6ebb8a42506343c54e00c72252d683f8 (diff)
downloadopenvpn-db950be85d37eab40d8fffe0bc2060059f8a7e10.tar.gz
openvpn-db950be85d37eab40d8fffe0bc2060059f8a7e10.tar.xz
openvpn-db950be85d37eab40d8fffe0bc2060059f8a7e10.zip
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 <gert@greenie.muc.de> Message-Id: <555BF270.3090706@nikhef.nl> URL: http://article.gmane.org/gmane.network.openvpn.devel/9705 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/tun.h')
-rw-r--r--src/openvpn/tun.h3
1 files changed, 3 insertions, 0 deletions
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,