Fix COPY handling in shared-provider case.

This commit is contained in:
Tom Eastep 2009-11-12 17:29:10 -08:00
parent 8321d6ac4e
commit aceb834c0c
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ sub copy_table( $$$ ) {
my $filter = $family == F_IPV6 ? q(sed 's/ via :: / /' | ) : ''; my $filter = $family == F_IPV6 ? q(sed 's/ via :: / /' | ) : '';
if ( $realm ) { if ( $realm ) {
emit ( "\$IP -$family route show table $duplicate | sed -r 's/ realm [[:alnum:]_]+//' | while read net route; do" ) emit ( "\$IP -$family route show table $duplicate | sed -r 's/ realm [[:alnum:]]+//' | while read net route; do" )
} else { } else {
emit ( "\$IP -$family route show table $duplicate | ${filter}while read net route; do" ) emit ( "\$IP -$family route show table $duplicate | ${filter}while read net route; do" )
} }

View File

@ -1,6 +1,6 @@
Changes in Shorewall 4.4.3.1 Changes in Shorewall 4.4.3.1
None. 1) Fix COPY handling in shared-provider case.
Changes in Shorewall 4.4.3 Changes in Shorewall 4.4.3