Correct my update to Mr-4's bup patch.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-05-04 18:40:14 -07:00
parent fdfdb49951
commit 13c90e2aef

View File

@ -233,10 +233,10 @@ sub copy_and_edit_table( $$$$$ ) {
#
for ( split ',', $copy ) {
unless ( $copied{$_} ) {
if ( known_inerface($_) ) {
push @copy, $;
if ( known_interface($_) ) {
push @copy, $_;
} elsif ( $_ =~ /^(?:blackhole|unreachable|prohibit)$/ ) {
push @bup_copy, $_ ;
push @bup_copy, $_;
} else {
fatal_error "Unknown interface ($_)";
}