mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 01:37:59 +02: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 ) {
|
for ( split ',', $copy ) {
|
||||||
unless ( $copied{$_} ) {
|
unless ( $copied{$_} ) {
|
||||||
|
fatal_error "Unknown interface ($_)" unless known_interface($_);
|
||||||
push @copy, $_;
|
push @copy, $_;
|
||||||
$copied{$_} = 1;
|
$copied{$_} = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user