X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=config%2Fcfgroot%2Fgeneral-functions.pl;h=5de4fb84bb006b6605f3be08fb92f3ba28788356;hb=087e3023812fec5dc4d4d85724166e64c24ab4cc;hp=8ee5eaa5d595e3851f6e1e0922be1fee4d09564f;hpb=9a62b6daac483a8769f6760a627121550a6cc0f3;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl index 8ee5eaa5d5..5de4fb84bb 100644 --- a/config/cfgroot/general-functions.pl +++ b/config/cfgroot/general-functions.pl @@ -529,7 +529,7 @@ sub checksubnets if($ownnet ne 'ipsec'){ &General::readhasharray("${General::swroot}/vpn/config", \%ipsecconf); foreach my $key (keys %ipsecconf){ - if ($ipsecconf{$key}[11] ne ''){ + if ($ipsecconf{$key}[11] ne '' && $ipsecconf{$key}[36] eq ""){ foreach my $ipsecsubitem (split(/\|/, $ipsecconf{$key}[11])) { my ($ipsecip,$ipsecsub) = split (/\//, $ipsecconf{$key}[11]); $ipsecsub=&iporsubtodec($ipsecsub);