summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-12-23 21:31:17 +0700
committerGitHub <noreply@github.com>2021-12-23 21:31:17 +0700
commit9cc1a0ad937929606a38e63cefb7708f24cae975 (patch)
tree3c58f8fbcd50005266bdfa5c4c4b28716d74d4d6
parentde19cb9b03b78c4e3da93e014764bb2400ffe8a6 (diff)
parentccfc8cdeaa1720a00550e881c91cb6d31bef56d2 (diff)
downloadvyatta-cfg-vpn-9cc1a0ad937929606a38e63cefb7708f24cae975.tar.gz
vyatta-cfg-vpn-9cc1a0ad937929606a38e63cefb7708f24cae975.zip
Merge pull request #52 from sever-sever/T4092
dmvpn: T4092: Add new line after mobike option
-rwxr-xr-xscripts/dmvpn-config.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dmvpn-config.pl b/scripts/dmvpn-config.pl
index d482432..b80e9f8 100755
--- a/scripts/dmvpn-config.pl
+++ b/scripts/dmvpn-config.pl
@@ -273,13 +273,13 @@ if ( $vcVPN->exists('ipsec') ) {
if (defined($mob_ike)) {
if (defined($key_exchange) && $key_exchange eq 'ikev2') {
if ($mob_ike eq 'enable') {
- $genout .= "\t\tmobike = yes";
+ $genout .= "\t\tmobike = yes\n";
}
if ($mob_ike eq 'disable') {
- $genout .= "\t\tmobike = no";
+ $genout .= "\t\tmobike = no\n";
}
}else {
- $genout .= "\t\tmobike = no";
+ $genout .= "\t\tmobike = no\n";
}
}