From 14073e89435f7856f616cf898594224a53d7b320 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 13 Sep 2012 08:25:05 -0700 Subject: [PATCH] Change TOS priority offset from 10 to 15 - Make it distinct from tcp-ack Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 2 +- Shorewall/manpages/shorewall-tcfilters.xml | 2 +- Shorewall6/manpages/shorewall6-tcfilters.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 005f8a121..adebdc38e 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -1244,7 +1244,7 @@ sub validate_tc_class( ) { $priority = validate_filter_priority( $pri, 'mark' ); } else { fatal_error "Missing TOS priority" if $prio eq '-'; - $priority = ( $prio << 8 ) | 10; + $priority = ( $prio << 8 ) | 15; } $option = "tos=$optval" if $optval; diff --git a/Shorewall/manpages/shorewall-tcfilters.xml b/Shorewall/manpages/shorewall-tcfilters.xml index 3d8494d40..c3b6fb804 100644 --- a/Shorewall/manpages/shorewall-tcfilters.xml +++ b/Shorewall/manpages/shorewall-tcfilters.xml @@ -224,7 +224,7 @@ Classify by TOS - ( class - priority << 8 ) | 10. + priority << 8 ) | 15. diff --git a/Shorewall6/manpages/shorewall6-tcfilters.xml b/Shorewall6/manpages/shorewall6-tcfilters.xml index 60c3ec516..7ac2294f5 100644 --- a/Shorewall6/manpages/shorewall6-tcfilters.xml +++ b/Shorewall6/manpages/shorewall6-tcfilters.xml @@ -219,7 +219,7 @@ Classify by TOS - ( class - priority << 8 ) | 10. + priority << 8 ) | 15.