diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-09-25 18:32:25 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-09-25 18:32:25 +0200 |
commit | aa3057b81047ddea9f3649049f5d32a24ea178cc (patch) | |
tree | 1e858caf546c134d6f83e277654793f128442248 /openvpn/src | |
parent | f357f2f0bac975bd40c1ea3f66064bf83eab6b41 (diff) |
Add dummy string for tun device name (closes issue #93)
Diffstat (limited to 'openvpn/src')
-rw-r--r-- | openvpn/src/openvpn/tun.c | 2 |
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); } |