diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-12-23 18:37:19 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-12-23 18:37:19 +0000 |
commit | 733dac92e3105b182ad552fb811bd286a5364844 (patch) | |
tree | 364dff97fb1bd3b1f44441d677ca8a963d4314ed /scripts | |
parent | df0a7ecdf9d4a566afb8bcb157c6a67d9383cecf (diff) | |
download | vyatta-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-x | scripts/dmvpn-config.pl | 6 |
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"; } } |