Require that interfaces in the COPY column be known.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-03-07 07:32:56 -08:00
parent 7da10ff923
commit c4f0be96ac

View File

@ -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;
}