mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-18 15:46:55 +02:00
Fix obscure bug
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3348 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
35af148450
commit
686a9e9e9f
@ -7303,6 +7303,8 @@ setup_masq()
|
|||||||
|
|
||||||
source="${networks:=0.0.0.0/0}"
|
source="${networks:=0.0.0.0/0}"
|
||||||
|
|
||||||
|
detectinterface=
|
||||||
|
|
||||||
case $source in
|
case $source in
|
||||||
*.*.*|+*|!+*)
|
*.*.*|+*|!+*)
|
||||||
;;
|
;;
|
||||||
@ -7314,7 +7316,6 @@ setup_masq()
|
|||||||
networks=$(get_routed_networks $networks)
|
networks=$(get_routed_networks $networks)
|
||||||
[ -z "$networks" ] && fatal_error "Unable to determine the routes through interface \"$source\""
|
[ -z "$networks" ] && fatal_error "Unable to determine the routes through interface \"$source\""
|
||||||
networks="$networks"
|
networks="$networks"
|
||||||
detectinterface=
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user