diff options
author | UnicronNL <UnicronNL@users.noreply.github.com> | 2014-08-23 14:00:29 +0200 |
---|---|---|
committer | UnicronNL <UnicronNL@users.noreply.github.com> | 2014-08-23 14:00:29 +0200 |
commit | 4987d8c64e6d85ac1f010dbfc3639096b7d84dd0 (patch) | |
tree | cbf1fcdd3ae36cb22654ebbe74387d5f6c1f7fef | |
parent | c3fb13d9f2ab679b89faee991d3bb7c6ab31356f (diff) | |
download | vyos-nhrp-4987d8c64e6d85ac1f010dbfc3639096b7d84dd0.tar.gz vyos-nhrp-4987d8c64e6d85ac1f010dbfc3639096b7d84dd0.zip |
Update spacing for --esp
-rw-r--r-- | scripts/vyos-update-nhrp.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyos-update-nhrp.pl b/scripts/vyos-update-nhrp.pl index 834f392..5741eeb 100644 --- a/scripts/vyos-update-nhrp.pl +++ b/scripts/vyos-update-nhrp.pl @@ -244,16 +244,16 @@ sub ipsec_config { my %proposals = @proposals; my $x = scalar(keys %proposals); my $y = 0; - push(@conf_file, " --esp"); + push(@conf_file, " --esp", " "); foreach my $proposal (@proposals) { if ($y != 0 && $y <= $x ) { push(@conf_file, ","); } if ($config_prot->exists("proposal $proposal encryption")) { - push(@conf_file, " ", $config_prot->returnValue("proposal $proposal encryption")); + push(@conf_file, $config_prot->returnValue("proposal $proposal encryption")); } else { - push(@conf_file, " aes128"); + push(@conf_file, "aes128"); } if ($config_prot->exists("proposal $proposal hash")) { push(@conf_file, "-", $config_prot->returnValue("proposal $proposal hash")); |