summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index c6b7847..bd06153 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -443,8 +443,10 @@ function step5_stepsubmitphpaction() {
/* To add p2p clients, push Descr,Protocol,Start,End,src/dest/both onto p2plist */
if($_POST['aimster'] != "")
$p2plist[] = array('Aimster', 'tcp', '7668', '7668', 'both');
- if($_POST['bittorrent'] != "")
+ if($_POST['bittorrent'] != "") {
$p2plist[] = array('BitTorrent', 'tcp', '6881', '6999', 'both');
+ $p2plist[] = array('BitTorrent', 'udp', '6881', '6999', 'both');
+ }
if($_POST['buddyshare'] != "")
$p2plist[] = array('BuddyShare', 'tcp', '7788', '7788', 'both');
if($_POST['cutemx'] != "")
OpenPOWER on IntegriCloud