mirror of
https://gitlab.com/shorewall/code.git
synced 2025-05-29 06:07:34 +02:00
Fix 'findgw'
This commit is contained in:
parent
252c8c0c8d
commit
7621859e0f
@ -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
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
----------------------------------------------------------------------------
|
----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user