diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 26cf6e400..290e378ad 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -1425,6 +1425,8 @@ sub process_tcpri() { # sub process_traffic_shaping() { + our $lastrule = ''; + my $fn = open_file 'tcdevices'; if ( $fn ) {