mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-23 05:01:34 +01:00
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:
parent
10025d41b9
commit
50c1896c37
@ -8,6 +8,8 @@ Changes in 4.2.0-Beta3
|
|||||||
|
|
||||||
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
|
Changes in 4.2.0-Beta2
|
||||||
|
|
||||||
1) Only issue a warning on RFC 1918 violation.
|
1) Only issue a warning on RFC 1918 violation.
|
||||||
|
@ -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
|
is a saved configuration, the setting of ip forwarding will not be
|
||||||
changed.
|
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.
|
Other Changes in Shoreall 4.2.0 Beta 3.
|
||||||
|
|
||||||
1) Beginning with Shorewall 4.0.0, the -f option was no longer the
|
1) Beginning with Shorewall 4.0.0, the -f option was no longer the
|
||||||
|
@ -332,6 +332,7 @@ sub add_a_provider( $$$$$$$$ ) {
|
|||||||
$copy = $interface;
|
$copy = $interface;
|
||||||
} else {
|
} else {
|
||||||
$copy =~ tr/,/|/;
|
$copy =~ tr/,/|/;
|
||||||
|
$copy = "$interface|$copy";
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_and_edit_table( $duplicate, $number ,$copy , $realm);
|
copy_and_edit_table( $duplicate, $number ,$copy , $realm);
|
||||||
|
Loading…
Reference in New Issue
Block a user