diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index fad39b7c5..d422a77d5 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -458,6 +458,8 @@ sub process_simple_device() { my $number = in_hexp( $tcdevices{$device} = ++$devnum ); + fatal_error "Unknown interface( $device )" unless known_interface $device; + my $physical = physical_name $device; my $dev = chain_base( $physical );