summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-02-11 05:28:37 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-02-11 05:28:37 -0500
commitfbddff7f2b6b485c93b5d3cf4d60a75f84c3a2b6 (patch)
tree5bbcc8b951ea31131920ca56f497e282ceac12b6 /scripts/vpn-config.pl
parent4b73a852d2fbc9ce60a31c10c7052ef5aef16fee (diff)
downloadvyatta-cfg-vpn-fbddff7f2b6b485c93b5d3cf4d60a75f84c3a2b6.tar.gz
vyatta-cfg-vpn-fbddff7f2b6b485c93b5d3cf4d60a75f84c3a2b6.zip
Remove charonstart an interfaces from ipsec.conf file, they are depricated.
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-xscripts/vpn-config.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index 635c416..5c00e08 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -217,7 +217,6 @@ if ($vcVPN->exists('ipsec')) {
$genout .= "version 2.0\n";
$genout .= "\n";
$genout .= "config setup\n";
- $genout .= "\tcharonstart=yes\n";
#
# Interfaces
@@ -233,7 +232,6 @@ if ($vcVPN->exists('ipsec')) {
# not used, though we do need to include the line and the keyword
# "%none" to keep the IPsec setup code from defaulting the entry.
if ($using_klips) {
- $genout .= "\tinterfaces=\"";
my $counter = 0;
foreach my $interface (@interfaces) {
if (!(-d "/sys/class/net/$interface")) {
@@ -264,8 +262,6 @@ if ($vcVPN->exists('ipsec')) {
++$counter;
}
$genout .= '%defaultroute"';
- } else {
- $genout .= 'interfaces="%none"';
}
$genout .= "\n";
}