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

    Traffic Shaper 'By queue' tab producing wrong link to queues

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 2.4k 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.
    • B
      Bentrax
      last edited by

      Hi,
      the tab "By queue" for the traffic shaper produces wrong link to the queues for the interfaces.
      I tracked the error down:
      in shaper.inc line 1199 there is a '=' missing after 'interface'

      wrong line:

      $form .= "[GetInterface() . "&queue=" . $this->GetInterface()."&action=show\">".$this->GetInterface().": ".$scheduler."](\"firewall_shaper.php?interface")";
      

      correct line:

      $form .= "[GetInterface() . "&queue=" . $this->GetInterface()."&action=show\">".$this->GetInterface().": ".$scheduler."](\"firewall_shaper.php?interface=")";
      

      doing this change makes the link working.
      In the same file there another function called "build_shortform" but I don't know when that one is called. Theres the same error. It is line 590.

      Regards,
      Alexander

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by

        Fixed thanks.

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