Hi Shorewall developers,

It seems that the DSCP match in tcrules file doesn't work with names
(such as EF, BE, CS1, ...).
The joined patch would resolve that.

Thanks for your help,
Best regards,

Thibaut Chèze
--- Chains.pm	2013-03-30 12:25:06.134750860 +0100
+++ Chains.pm.patched	2013-03-30 12:25:51.639447282 +0100
@@ -5054,7 +5054,7 @@
     my $invert = $dscp =~ s/^!// ? '! ' : '';
     my $value  = numeric_value( $dscp );
 
-    $value = $dscpmap{$value} unless defined $value;
+    $value = $dscpmap{$dscp} unless defined $value;
 
     fatal_error( "Invalid DSCP ($dscp)" ) unless defined $value && $value < 0x2f && ! ( $value & 1 );
 
------------------------------------------------------------------------------
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

Reply via email to