summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
authorJeff Leung <jleung@v10networks.ca>2015-11-04 21:38:56 -0800
committerJeff Leung <jleung@v10networks.ca>2015-11-04 21:38:56 -0800
commit8aa86bf3a045c51bae264a5716dd3d9c1063411e (patch)
treec536be6d9dcab49d10bfc635108dda463bfa2e43 /scripts/vpn-config.pl
parent070c754a733258a4b6900b01dd3ec141debcc9a8 (diff)
downloadvyatta-cfg-vpn-8aa86bf3a045c51bae264a5716dd3d9c1063411e.tar.gz
vyatta-cfg-vpn-8aa86bf3a045c51bae264a5716dd3d9c1063411e.zip
Actually implement custom ipsec.conf files
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-xscripts/vpn-config.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index 23d97d7..dd14446 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -1123,6 +1123,7 @@ if ($vcVPN->exists('ipsec')) {
if ( ! -e $custom_include ) {
vpn_die(["vpn","ipsec","include-ipsec-conf"],"$vpn_cfg_err The specified file for inclusion inside ipsec.conf does not exist.");
}
+ $genout .= "\ninclude $custom_include";
}
if (-e '/etc/dmvpn.conf') {
$genout .= "\ninclude /etc/dmvpn.conf\n";