diff options
author | Jeff Leung <jleung@v10networks.ca> | 2015-11-04 21:38:56 -0800 |
---|---|---|
committer | Jeff Leung <jleung@v10networks.ca> | 2015-11-04 21:38:56 -0800 |
commit | 8aa86bf3a045c51bae264a5716dd3d9c1063411e (patch) | |
tree | c536be6d9dcab49d10bfc635108dda463bfa2e43 /scripts | |
parent | 070c754a733258a4b6900b01dd3ec141debcc9a8 (diff) | |
download | vyatta-cfg-vpn-8aa86bf3a045c51bae264a5716dd3d9c1063411e.tar.gz vyatta-cfg-vpn-8aa86bf3a045c51bae264a5716dd3d9c1063411e.zip |
Actually implement custom ipsec.conf files
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vpn-config.pl | 1 |
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"; |