Project

General

Profile

Bug #686

Traffic shaper on single interface?

Added by Warren Baker about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
06/22/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

Silly question, but revision http://redmine.pfsense.org/projects/pfsense/repository/revisions/38b357bdb50b820d63646d49849b41b4908a744d removes the check for the lan interface for various menu options (NAT, UPNP, Traffic shaper) and relies on the count of interfaces to decided on whether to display the menu option or not.

However the interface test condition has been removed for the Traffic shaper and now this menu option displays when only one interface is available. Surely this is incorrect and the following should be applied to fbegin.inc?

if(count($config['interfaces']) > 1)
   $firewall_menu[] = array("Traffic Shaper", "/firewall_shaper.php");

Thx
Warren

History

#1 Updated by Ermal Lu├ži about 9 years ago

Its correct the shaper can work on only one interface too.

#2 Updated by Chris Buechler about 9 years ago

  • Status changed from New to Closed

Also available in: Atom PDF