diff options
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard.xml')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index bc8c231..03871a3 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -974,7 +974,7 @@ <type>checkbox</type> <typehint>Other networking protocols</typehint> <description>This will help raise or lower the priority of other protocols higher than most traffic.</description> - <enablefields>MSRDP,PPTP,IPSEC,StreamingMP3,IRC,DNS,HTTP,SMTP,POP3,ICMP,IMAP,SMB</enablefields> + <enablefields>MSRDP,PPTP,IPSEC,StreamingMP3,IRC,DNS,HTTP,SMTP,POP3,ICMP,IMAP,SMB,RTSP</enablefields> <donotdisable>true</donotdisable> <bindstofield>ezshaper->step6->enable</bindstofield> </field> @@ -1225,7 +1225,27 @@ </option> </options> <typehint>Microsoft SMB Protocol and friends</typehint> - </field> + </field> + <field> + <name>RTSP</name> + <bindstofield>ezshaper->step6->rtsp</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> @@ -1398,7 +1418,12 @@ /* Microsoft SMB and friends */ $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']); + } } /* XXX: add some more protocols here! */ |