mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-02 19:09:33 +01:00
Require that interfaces in the COPY column be known.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
7da10ff923
commit
c4f0be96ac
@ -228,6 +228,7 @@ sub copy_and_edit_table( $$$$ ) {
|
||||
#
|
||||
for ( split ',', $copy ) {
|
||||
unless ( $copied{$_} ) {
|
||||
fatal_error "Unknown interface ($_)" unless known_interface($_);
|
||||
push @copy, $_;
|
||||
$copied{$_} = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user