From: Michael Tremer Date: Fri, 22 Mar 2019 15:22:43 +0000 (+0000) Subject: openvpn: Remove subnet check for static pools X-Git-Tag: v2.23-core131~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6c60092db15360cd51091b9f5bcff637ee2ea7c;p=ipfire-2.x.git openvpn: Remove subnet check for static pools Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/130/filelists/files b/config/rootfiles/core/130/filelists/files index 10e0184a37..b6ee45da7b 100644 --- a/config/rootfiles/core/130/filelists/files +++ b/config/rootfiles/core/130/filelists/files @@ -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 diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 4fb2349956..812680328c 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -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);