diff --git a/Shorewall-perl/Shorewall/Rules.pm b/Shorewall-perl/Shorewall/Rules.pm index 42a4856ba..8e4825137 100644 --- a/Shorewall-perl/Shorewall/Rules.pm +++ b/Shorewall-perl/Shorewall/Rules.pm @@ -388,7 +388,7 @@ sub process_criticalhosts() { my @hosts; for my $host ( split /,/, $hosts ) { - push @hosts, "$interface:$hosts"; + push @hosts, "$interface:$host"; } unless ( $options eq '-' ) {