mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
firewall.cgi: replace space by tab and OS rebuild for wireguard
wireguard feature has changes in followg lfs, so remove the build log below for OS rebuild to include wireguard rm log_loongarch64/web-user-interface-ipfire rm log_loongarch64/configroot rm log_loongarch64/iproute2-6.10.0 rm log_loongarch64/initscripts rm log_loongarch64/stage2 rm log_loongarch64/misc-progs Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -1321,7 +1321,7 @@ sub get_ip
|
||||
&General::readhash("$configovpn",\%ovpnsettings);
|
||||
($a,$b) = split (/\//, $ovpnsettings{'DOVPN_SUBNET'});
|
||||
$b=&General::iporsubtocidr($b);
|
||||
}
|
||||
|
||||
# WireGuard
|
||||
} elsif ($fwdfwsettings{$fwdfwsettings{$grp}} eq "WGRW") {
|
||||
return $Wireguard::settings{'CLIENT_POOL'};
|
||||
@@ -1566,6 +1566,7 @@ sub getcolor
|
||||
$tdcolor="style='background-color: $Header::colourvpn;color:white;'";
|
||||
return;
|
||||
}
|
||||
|
||||
#ALIASE
|
||||
foreach my $alias (sort keys %aliases)
|
||||
{
|
||||
@@ -2640,7 +2641,6 @@ END
|
||||
$coloryellow = 'on';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
foreach my $host (@tmptgt){
|
||||
if($$hash{$key}[5] eq 'ipsec_net_tgt'){
|
||||
|
||||
Reference in New Issue
Block a user