From e801f66230d77401a0ae6d8e3effbe95a00a700d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 5 Apr 2007 17:23:22 +0000 Subject: [PATCH] Add UDP bit torrent traffic rule to wizard --- usr/local/www/wizards/traffic_shaper_wizard.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc index c6b78472a0..bd06153394 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'] != "")