This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via a7ac62f4a67fa2016edc27735cec71bc1474c2b7 (commit) from 0555434effc70080d8278ca3db38fef51bba1efa (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit a7ac62f4a67fa2016edc27735cec71bc1474c2b7 Author: Michael Tremer michael.tremer@ipfire.org Date: Thu Sep 26 20:40:04 2024 +0000
ovpnmain.cgi: Remove using dropped &General::getlastip() function
Signed-off-by: Michael Tremer michael.tremer@ipfire.org
-----------------------------------------------------------------------
Summary of changes: html/cgi-bin/ovpnmain.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Difference in files: diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index daaa059a4..20f256f4b 100755 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -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";
hooks/post-receive -- IPFire 2.x development tree