From f35c0922c6d88b408975d63d16c1fb58b154af6f Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 9 Sep 2005 16:49:36 +0000 Subject: [PATCH] remove debugging code git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2653 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/tcstart | 3 --- 1 file changed, 3 deletions(-) diff --git a/Shorewall/tcstart b/Shorewall/tcstart index 338db4217..a06df7d5e 100755 --- a/Shorewall/tcstart +++ b/Shorewall/tcstart @@ -180,7 +180,6 @@ setup_traffic_shaping() add_tc_class() { local full - #set -x full=$(get_outband_for_dev $device) full=$(rate_to_kbit $full) #set -x @@ -201,7 +200,6 @@ setup_traffic_shaping() ceil="$(($ceil))kbit" ;; esac - #set +x ensure_and_save_command tc class add dev $device parent 1:1 classid 1:1$mark htb rate $rate ceil $ceil prio $prio quantum $(calculate_quantum $rate) ensure_and_save_command tc qdisc add dev $device parent 1:1$mark handle 1$mark: sfq perturb 10 @@ -215,7 +213,6 @@ setup_traffic_shaping() list_search "tos-minimize-reliability" $options && ensure_and_save_command tc filter add dev $device parent 1:0 protocol ip prio 10 u32 match ip tos 0x04 0xff flowid 1:1$mark list_search "tos-normal-service" $options && ensure_and_save_command tc filter add dev $device parent 1:0 protocol ip prio 10 u32 match ip tos 0x00 0xff flowid 1:1$mark # tcp - set +x } strip_file tcdevices