diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 0aef732d7..48362f43a 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -175,6 +175,10 @@ sub copy_and_edit_table( $$$$ ) { # Map physical names to logical names in $copy # $copy = join( '|' , map( physical_name($_) , split( ',' , $copy ) ) ); + # + # Shell and iptables use a different wildcard character + # + $copy =~ s/\+/*/; if ( $realm ) { emit ( "\$IP -$family route show table $duplicate | sed -r 's/ realm [[:alnum:]_]+//' | while read net route; do" )