Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    BUG: Diagnostics: System logs: IPSEC VPN page

    Scheduled Pinned Locked Moved webGUI
    3 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SurfceS
      last edited by

      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,

      1 Reply Last reply Reply Quote 0
      • S
        SurfceS
        last edited by

        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,

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          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!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.