summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-14 17:17:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-14 17:17:21 +0000
commit088ac016781a8ec609e015b66913b1839ab9c097 (patch)
treebfc6f9d757b1f1dd6957bf744d1d27514a31592a
parentfc7bea0e314ba980386c26d1945b00ae86b946b2 (diff)
downloadpfsense-088ac016781a8ec609e015b66913b1839ab9c097.zip
pfsense-088ac016781a8ec609e015b66913b1839ab9c097.tar.gz
Add IMAP to the Traffic Shaper raise / lower screen
-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 b8c831f..75d62fb 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -948,7 +948,7 @@
<type>checkbox</type>
<typehint>Other networking protocols</typehint>
<description>This will help raise the priority of other protocols higher than most traffic.</description>
- <enablefields>MSRDP,PPTP,IPSEC,StreamingMP3,IRC,DNS,HTTP,SMTP,POP3,ICMP</enablefields>
+ <enablefields>MSRDP,PPTP,IPSEC,StreamingMP3,IRC,DNS,HTTP,SMTP,POP3,ICMP,IMAP</enablefields>
<donotdisable>true</donotdisable>
<bindstofield>ezshaper->step6->enable</bindstofield>
</field>
@@ -1155,6 +1155,26 @@
</option>
</options>
<typehint>ICMP Protocol</typehint>
+ </field>
+ <field>
+ <name>IMAP</name>
+ <bindstofield>ezshaper->step6->imap</bindstofield>
+ <type>select</type>
+ <options>
+ <option>
+ <name>Dont care</name>
+ <value></value>
+ </option>
+ <option>
+ <name>Higher</name>
+ <value>H</value>
+ </option>
+ <option>
+ <name>Lower</name>
+ <value>L</value>
+ </option>
+ </options>
+ <typehint>ICMP Protocol</typehint>
</field>
<field>
<name>Next</name>
@@ -1318,7 +1338,12 @@
/* ICMP */
$othersplist[] = array('ICMP', 'icmp', '', '', 'both', $_POST['icmp']);
}
-
+
+ if($_POST['imap'] != "") {
+ /* IMAP */
+ $othersplist[] = array('IMAP', 'imap', '143', '143', 'both', $_POST['imap']);
+ }
+
/* XXX: add some more protocols here! */
/* Set up/down protocols as higher weight */
OpenPOWER on IntegriCloud