Merge branch 'master' into next

This commit is contained in:
Michael Tremer
2024-09-29 11:29:11 +00:00
3 changed files with 3 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ print <<END;
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="/favicon.ico" />
<script type="text/javascript" src="/include/jquery.js"></script>
<script src="/include/rrdimage.js"></script>
<script src="/include/rrdimage.js?v=20240926"></script>
$extrahead
<script type="text/javascript">

View File

@@ -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

View File

@@ -4402,7 +4402,7 @@ if ($cgiparams{'TYPE'} eq 'net') {
print CCDRWCONF "#This client uses the dynamic pool\n";
}else{
print CCDRWCONF "#Ip address client and server\n";
print CCDRWCONF "ifconfig-push $ccdip ".&General::getlastip($ccdip,1)."\n";
print CCDRWCONF "ifconfig-push $ccdip ". &Network::bin2ip(&Network::ip2bin($ccdip) - 1) ."\n";
}
if ($confighash{$key}[34] eq 'on'){
print CCDRWCONF "\n#Redirect Gateway: \n#All IP traffic is redirected through the vpn \n";