forked from extern/shorewall_code
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:
parent
e4dd187638
commit
399f08dc22
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user