mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 16:32:59 +02:00
ovpnmain.cgi: Fix IP address calculation with static pools
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -5,6 +5,7 @@ etc/rc.d/init.d/networking/functions.network
|
||||
etc/rc.d/init.d/suricata
|
||||
srv/web/ipfire/cgi-bin/getrrdimage.cgi
|
||||
srv/web/ipfire/cgi-bin/ids.cgi
|
||||
srv/web/ipfire/cgi-bin/ovpnmain.cgi
|
||||
srv/web/ipfire/html/include/rrdimage.js
|
||||
usr/bin/suricata-watcher
|
||||
var/ipfire/graphs.pl
|
||||
|
||||
@@ -569,7 +569,7 @@ sub getccdadresses
|
||||
for (my $i=1;$i<=$count;$i++) {
|
||||
my $tmpip=$iprange[$i-1];
|
||||
my $stepper=$i*4;
|
||||
$iprange[$i]= &General::getnextip($tmpip,4);
|
||||
$iprange[$i]= &Network::bin2ip(&Network::ip2bin($tmpip) + 4);
|
||||
}
|
||||
my $r=0;
|
||||
foreach my $key (keys %ccdhash) {
|
||||
|
||||
Reference in New Issue
Block a user