Copy INTERFACE when COPY column non-empty

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8622 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-07-11 16:53:50 +00:00
parent 10025d41b9
commit 50c1896c37
3 changed files with 9 additions and 1 deletions

View File

@ -6,7 +6,9 @@ Changes in 4.2.0-Beta3
3) Implement USE_DEFAULT_RT
4) Add -f option to the restart command.
4) Add -f option to the restart command.
5) Fix COPY column.
Changes in 4.2.0-Beta2

View File

@ -86,6 +86,11 @@ Problems corrected in Shorewall-perl-4.2.0 Beta3.
is a saved configuration, the setting of ip forwarding will not be
changed.
2) Previously, when the COPY column of /etc/shorewall/providers
contained one or more interface names, Shorewall-perl was not
adding the interface in the INTERFACE column to those interfaces
being copied. This has been corrected.
Other Changes in Shoreall 4.2.0 Beta 3.
1) Beginning with Shorewall 4.0.0, the -f option was no longer the

View File

@ -332,6 +332,7 @@ sub add_a_provider( $$$$$$$$ ) {
$copy = $interface;
} else {
$copy =~ tr/,/|/;
$copy = "$interface|$copy";
}
copy_and_edit_table( $duplicate, $number ,$copy , $realm);