Better diagnostic on unknown interface in the Maclist file

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8487 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-04-29 15:44:14 +00:00
parent e4dd187638
commit 399f08dc22

View File

@ -736,6 +736,8 @@ sub setup_mac_lists( $ ) {
fatal_error "Invalid DISPOSITION ($original_disposition)" if ! $targetref || ( ( $table eq 'mangle' ) && ! $targetref->{mangle} );
fatal_error "Unknown Interface ($interface)" unless known_interface( $interface );
unless ( $maclist_interfaces{$interface} ) {
fatal_error "No hosts on $interface have the maclist option specified";
}