summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-12-23 18:37:19 +0000
committerViacheslav <v.gletenko@vyos.io>2021-12-23 18:37:19 +0000
commit733dac92e3105b182ad552fb811bd286a5364844 (patch)
tree364dff97fb1bd3b1f44441d677ca8a963d4314ed /scripts
parentdf0a7ecdf9d4a566afb8bcb157c6a67d9383cecf (diff)
downloadvyatta-cfg-vpn-733dac92e3105b182ad552fb811bd286a5364844.tar.gz
vyatta-cfg-vpn-733dac92e3105b182ad552fb811bd286a5364844.zip
dmvpn: T4092: Add new line after mobike option
It was missed a new line after "mobike" option for configuration DMVPN So it generates a wrong config format for swanctl.conf
Diffstat (limited to 'scripts')
-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";
}
}