DSCP values passed to setdscp need to be lowercase.

See definition of f_ipdscp values. They are compared against using bcmp
which is case sensitive.

MFC after:	1 week
This commit is contained in:
Nick Hibma 2018-02-13 10:11:39 +00:00
parent e7317cbf24
commit 9ea81ab56a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329197

View File

@ -1070,49 +1070,49 @@ Set specified DiffServ codepoint for an IPv4/IPv6 packet.
Processing continues at the next rule.
Supported values are:
.Pp
.Cm CS0
.Cm cs0
.Pq Dv 000000 ,
.Cm CS1
.Cm cs1
.Pq Dv 001000 ,
.Cm CS2
.Cm cs2
.Pq Dv 010000 ,
.Cm CS3
.Cm cs3
.Pq Dv 011000 ,
.Cm CS4
.Cm cs4
.Pq Dv 100000 ,
.Cm CS5
.Cm cs5
.Pq Dv 101000 ,
.Cm CS6
.Cm cs6
.Pq Dv 110000 ,
.Cm CS7
.Cm cs7
.Pq Dv 111000 ,
.Cm AF11
.Cm af11
.Pq Dv 001010 ,
.Cm AF12
.Cm af12
.Pq Dv 001100 ,
.Cm AF13
.Cm af13
.Pq Dv 001110 ,
.Cm AF21
.Cm af21
.Pq Dv 010010 ,
.Cm AF22
.Cm af22
.Pq Dv 010100 ,
.Cm AF23
.Cm af23
.Pq Dv 010110 ,
.Cm AF31
.Cm af31
.Pq Dv 011010 ,
.Cm AF32
.Cm af32
.Pq Dv 011100 ,
.Cm AF33
.Cm af33
.Pq Dv 011110 ,
.Cm AF41
.Cm af41
.Pq Dv 100010 ,
.Cm AF42
.Cm af42
.Pq Dv 100100 ,
.Cm AF43
.Cm af43
.Pq Dv 100110 ,
.Cm EF
.Cm ef
.Pq Dv 101110 ,
.Cm BE
.Cm be
.Pq Dv 000000 .
Additionally, DSCP value can be specified by number (0..64).
It is also possible to use the