summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-02 06:14:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-02 06:14:01 +0000
commita5acacf6cac9d9e2699affc8d8abb9b66a275b40 (patch)
tree59fab91e2ee2f53e8f85d93facf19916b6e7ddb8 /usr
parentf0df1e492019975b2520935c95c71a90722f1fcd (diff)
downloadpfsense-a5acacf6cac9d9e2699affc8d8abb9b66a275b40.zip
pfsense-a5acacf6cac9d9e2699affc8d8abb9b66a275b40.tar.gz
Add snmp to traffic shaper wizard
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml29
1 files changed, 27 insertions, 2 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index 69ecd35..cc25071 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -1244,7 +1244,27 @@
</option>
</options>
<typehint>RealTime streaming protocol</typehint>
- </field>
+ </field>
+ <field>
+ <name>SNMP</name>
+ <bindstofield>ezshaper->step6->snmp</bindstofield>
+ <type>select</type>
+ <options>
+ <option>
+ <name>Higher priority</name>
+ <value>H</value>
+ </option>
+ <option>
+ <name>Default priority</name>
+ <value></value>
+ </option>
+ <option>
+ <name>Lower priority</name>
+ <value>L</value>
+ </option>
+ </options>
+ <typehint>RealTime streaming protocol</typehint>
+ </field>
<field>
<name>Next</name>
<type>submit</type>
@@ -1418,12 +1438,17 @@
$othersplist[] = array('SMB1', 'tcp', '445', '445', 'both', $_POST['smb']);
$othersplist[] = array('SMB2', 'tcp', '137-139', '137-139', 'both', $_POST['smb']);
-
if($_POST['rtsp'] != "") {
/* realtime streaming protocol */
$othersplist[] = array('RTSP1', 'tcp', '554', '554', 'both', $_POST['rtsp']);
} }
+ if($_POST['snmp'] != "") {
+ /* Simple network management protocol */
+ $othersplist[] = array('SNMP', 'tcp', '161', '161', 'both', $_POST['snmp']);
+ $othersplist[] = array('SNMP2', 'udp', '161', '161', 'both', $_POST['snmp']);
+ }
+
/* XXX: add some more protocols here! */
/* Set up/down protocols as higher weight */
OpenPOWER on IntegriCloud