diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 7c1c2a619..0fc52d99f 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -5054,7 +5054,7 @@ sub do_dscp( $ ) { 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 );