summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vpn-config.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index cabd07d..16d1e15 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -452,10 +452,9 @@ if ( $vcVPN->exists('ipsec') ) {
#
my $wildcard_psk = undef;
my @peers = $vcVPN->listNodes('ipsec site-to-site peer');
- if ( @peers == 0 && !( $vcVPN->exists('pptp') || $vcVPN->exists('l2tp') ) ) {
- print
- "VPN Warning: IPSec configured but no site-to-site peers or l2tp/pptp" .
- " remote-users configured\n";
+ if ( @peers == 0 && !($vcVPN->exists('l2tp')) ) {
+ print "VPN Warning: IPSec configured but no site-to-site peers or l2tp" .
+ " remote-users configured\n";
}
foreach my $peer (@peers) {
my $peer_ike_group =