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

BUG: Diagnostics: System logs: IPSEC VPN page

webGUI
2
3
2.0k
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 Nov 3, 2007, 5:24 AM

    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 Nov 4, 2007, 5:22 AM

      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 Nov 5, 2007, 12:44 AM

        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
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.