diff options
Diffstat (limited to 'src/openvpn/init.c')
-rw-r--r-- | src/openvpn/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvpn/init.c b/src/openvpn/init.c index 2c3285d..ce0a865 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -1489,6 +1489,9 @@ do_open_tun (struct context *c) msg (M_INFO, "Preserving previous TUN/TAP instance: %s", c->c1.tuntap->actual_name); + /* explicitly set the ifconfig_* env vars */ + do_ifconfig_setenv(c->c1.tuntap, c->c2.es); + /* run the up script if user specified --up-restart */ if (c->options.up_restart) run_up_down (c->options.up_script, |