On 03/31/2013 06:52 AM, Thibaut Chèze wrote: > Hi, > > DSCP match in /tcrules/ doesn't work with CS6 and CS7, it provides an > error "invalid value" for string and hexa values. > > It seems that it comes from /Chain.pm/, in the function /do_dscp/: > > fatal_error( "Invalid DSCP ($dscp)" ) unless defined $value && $value < 0x2f > && ! ( $value & 1 ); > > I dont understand why "$value < 0x2f", but 0x30 (CS6) and 0x38 (CS7)... > > Thanks for your help and explanations,
Clearly the test is wrong; should be "$value < 0x3f". -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________ Shorewall-devel mailing list Shorewall-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-devel