Fix error handling after 'Unable to determine the routes...'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@764 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-10-10 03:00:26 +00:00
parent 97825f937c
commit 55ddfb8c78
3 changed files with 9 additions and 1 deletions

View File

@ -7,3 +7,6 @@ Changes since 1.4.7
ICMP. ICMP.
3) Added support for QUEUE target. 3) Added support for QUEUE target.
4) Fix error handling after "Unable to determine the routes..."

View File

@ -3399,7 +3399,7 @@ setup_masq()
;; ;;
*) *)
subnets=`get_routed_subnets $subnet` subnets=`get_routed_subnets $subnet`
[ -z "$subnets" ] && startup_error "Unable to determine the routes through interface $subnet" [ -z "$subnets" ] && fatal_error "Unable to determine the routes through interface $subnet"
subnet="$subnets" subnet="$subnets"
;; ;;
esac esac

View File

@ -18,6 +18,11 @@ Problems Corrected since version 1.4.6:
ACCEPT loc $FW icmp 0,8,11,12 ACCEPT loc $FW icmp 0,8,11,12
3) Previously, if the following error message was issued, Shorewall
was left in an inconsistent state.
Error: Unable to determine the routes routes through interface xxx
Migration Issues: Migration Issues:
None. None.