mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
OpenVPN ccd: fixed counter in static networks. Only 63 hosts are possible in /24 subnet Now IP-Range begins with ".2"
This commit is contained in:
committed by
Michael Tremer
parent
df9b48b753
commit
ac87f37110
@@ -635,7 +635,7 @@ sub getccdadresses
|
||||
my %ccdhash=();
|
||||
&General::readhasharray("${General::swroot}/ovpn/ovpnconfig", \%ccdhash);
|
||||
$iprange[0]=$ip1.".".$ip2.".".$ip3.".".2;
|
||||
for (my $i=0;$i<=$count-1;$i++) {
|
||||
for (my $i=1;$i<=$count;$i++) {
|
||||
my $tmpip=$iprange[$i-1];
|
||||
my $stepper=$i*4;
|
||||
$iprange[$i]= &General::getnextip($tmpip,4);
|
||||
|
||||
Reference in New Issue
Block a user