summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openvpn/src/openvpn/tun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openvpn/src/openvpn/tun.c b/openvpn/src/openvpn/tun.c
index a56c997c..c05d78f8 100644
--- a/openvpn/src/openvpn/tun.c
+++ b/openvpn/src/openvpn/tun.c
@@ -1438,6 +1438,8 @@ open_tun (const char *dev, const char *dev_type, const char *dev_node, struct tu
if( (tt->fd < 0) || ! (strcmp("ok",up.password)==0)) {
msg (M_ERR, "ERROR: Cannot open TUN");
}
+ /* Set the actual name to a dummy name to enable scripts */
+ tt->actual_name = "vpnservice-tun";
gc_free (&gc);
}