summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/VpnProfile.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-07-10 23:00:52 +0200
committerArne Schwabe <arne@rfc2549.org>2012-07-10 23:00:52 +0200
commit951bc8dd9532a772db610aff59af2d96a6ab05db (patch)
treeecf0ef50c1ea21059b2f8480ed0da1717172161d /src/de/blinkt/openvpn/VpnProfile.java
parentda3d649cfa356873b72e6c25b9c0496268efcf89 (diff)
Fine tune config convert messages
Import tls-auth [inline] dir correctly (closes issue #55)
Diffstat (limited to 'src/de/blinkt/openvpn/VpnProfile.java')
-rw-r--r--src/de/blinkt/openvpn/VpnProfile.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java
index 6886d774..b495cc9e 100644
--- a/src/de/blinkt/openvpn/VpnProfile.java
+++ b/src/de/blinkt/openvpn/VpnProfile.java
@@ -242,13 +242,13 @@ public class VpnProfile implements Serializable{
cfg+=insertFileData("secret",mTLSAuthFilename);
else
cfg+=insertFileData("tls-auth",mTLSAuthFilename);
- cfg+=" ";
if(nonNull(mTLSAuthDirection)) {
cfg+= "key-direction ";
cfg+= mTLSAuthDirection;
+ cfg+="\n";
}
- cfg+="\n";
+
}
if(!mUsePull ) {