]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3033: incorrect information regarding TOS
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 31 Aug 2010 13:19:37 +0000 (01:19 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 31 Aug 2010 13:19:37 +0000 (01:19 +1200)
src/cf.data.pre

index c3710756bb0248f57d47c288dd5e4e4c19d7c561..b2b5a9770a7cdfafb759dbd34f0d01d3c67ba0d9 100644 (file)
@@ -1492,8 +1492,8 @@ DOC_START
        Example where normal_service_net uses the TOS value 0x00
        and good_service_net uses 0x20
 
-       acl normal_service_net src 10.0.0.0/255.255.255.0
-       acl good_service_net src 10.0.1.0/255.255.255.0
+       acl normal_service_net src 10.0.0.0/24
+       acl good_service_net src 10.0.1.0/24
        tcp_outgoing_tos 0x00 normal_service_net
        tcp_outgoing_tos 0x20 good_service_net
 
@@ -1503,8 +1503,8 @@ DOC_START
 
        The TOS/DSCP byte must be exactly that - a octet value  0 - 255, or
        "default" to use whatever default your host has. Note that in
-       practice often only values 0 - 63 is usable as the two highest bits
-       have been redefined for use by ECN (RFC3168).
+       practice often only multiples of 4 is usable as the two rightmost bits
+       have been redefined for use by ECN (RFC 3168 section 23.1).
 
        Processing proceeds in the order specified, and stops at first fully
        matching line.