openvpn: Remove subnet check for static pools
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Mar 2019 15:22:43 +0000 (15:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Mar 2019 15:24:03 +0000 (15:24 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/130/filelists/files
html/cgi-bin/ovpnmain.cgi

index 10e0184..b6ee45d 100644 (file)
@@ -13,6 +13,7 @@ srv/web/ipfire/cgi-bin/dnsforward.cgi
 srv/web/ipfire/cgi-bin/ids.cgi
 srv/web/ipfire/cgi-bin/logs.cgi/ids.dat
 srv/web/ipfire/cgi-bin/logs.cgi/log.dat
+srv/web/ipfire/cgi-bin/ovpnmain.cgi
 usr/local/bin/ipsec-interfaces
 usr/local/bin/suricatactrl
 usr/local/bin/update-ids-ruleset
index 4fb2349..8126803 100644 (file)
@@ -469,10 +469,7 @@ sub addccdnet
                $errormessage=$Lang::tr{'ccd err invalidnet'};
                return;
        }
-       
-       $errormessage=&General::checksubnets($ccdname,$ccdnet);
-       
-               
+
        if (!$errormessage) {
                my %ccdconfhash=();
                $baseaddress=&General::getnetworkip($ccdip,$subcidr);