BUG: Diagnostics: System logs: IPSEC VPN page
-
Just a small bug on the Diagnostics: System logs: IPSEC VPN page
(http://192.168.1.1/diag_logs_ipsec.php)
It doesn't appear propely.
There is on the top of the source client page.
Regards,
-
Ok, found the trick…
on the /usr/local/www/diag_logs_ipsec.php file.
The $ipsec_logarr = return_clog($ipsec_logfile, $nentries); code must be under the include("head.inc"); one.
Before, buggy :
$ipsec_logarr = return_clog($ipsec_logfile, $nentries); $pgtitle = "Diagnostics: System logs: IPSEC VPN"; include("head.inc"); ?>
After, without this bug :
$pgtitle = "Diagnostics: System logs: IPSEC VPN"; include("head.inc"); $ipsec_logarr = return_clog($ipsec_logfile, $nentries); ?>
Expecting it'll help.
Regards,
-
Moving that line does un-break the page, but the line was printed because of some debugging code I removed that shouldn't have been there. Fixed.
Thanks for the report!
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.