Fix 'findgw'

This commit is contained in:
Tom Eastep 2009-06-04 13:03:56 -07:00
parent 252c8c0c8d
commit 7621859e0f
3 changed files with 6 additions and 1 deletions

View File

@ -811,7 +811,7 @@ detect_dynamic_gateway() { # $1 = interface
gateway=$(run_findgw_exit $1); gateway=$(run_findgw_exit $1);
if [ -n "$gateway" ]; then if [ -z "$gateway" ]; then
gateway=$( find_peer $($IP addr list $interface ) ) gateway=$( find_peer $($IP addr list $interface ) )
fi fi

View File

@ -11,6 +11,8 @@ Changes in Shorewall 4.3.12
5) Fix 'reset' command. 5) Fix 'reset' command.
6) Fix 'findgw'.
Changes in Shorewall 4.3.11 Changes in Shorewall 4.3.11
1) Reduce the number of arguments passed in may cases. 1) Reduce the number of arguments passed in may cases.

View File

@ -103,6 +103,9 @@ released late in 2009.
/sbin/shorewall: 885: report: not found /sbin/shorewall: 885: report: not found
3) A mis-coded test after the 'findgw' script was executed caused the
value returned by that script to be ignored.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
K N O W N P R O B L E M S R E M A I N I N G K N O W N P R O B L E M S R E M A I N I N G
---------------------------------------------------------------------------- ----------------------------------------------------------------------------