Change TOS priority offset from 10 to 15

- Make it distinct from tcp-ack

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-09-13 08:25:05 -07:00
parent e02906e4f9
commit 14073e8943
3 changed files with 3 additions and 3 deletions

View File

@ -1244,7 +1244,7 @@ sub validate_tc_class( ) {
$priority = validate_filter_priority( $pri, 'mark' ); $priority = validate_filter_priority( $pri, 'mark' );
} else { } else {
fatal_error "Missing TOS priority" if $prio eq '-'; fatal_error "Missing TOS priority" if $prio eq '-';
$priority = ( $prio << 8 ) | 10; $priority = ( $prio << 8 ) | 15;
} }
$option = "tos=$optval" if $optval; $option = "tos=$optval" if $optval;

View File

@ -224,7 +224,7 @@
<listitem> <listitem>
<para>Classify by TOS - ( <replaceable>class <para>Classify by TOS - ( <replaceable>class
priority</replaceable> &lt;&lt; 8 ) | 10.</para> priority</replaceable> &lt;&lt; 8 ) | 15.</para>
</listitem> </listitem>
<listitem> <listitem>

View File

@ -219,7 +219,7 @@
<listitem> <listitem>
<para>Classify by TOS - ( <replaceable>class <para>Classify by TOS - ( <replaceable>class
priority</replaceable> &lt;&lt; 8 ) | 10.</para> priority</replaceable> &lt;&lt; 8 ) | 15.</para>
</listitem> </listitem>
<listitem> <listitem>