mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
Fix default route generation with explicit GATEWAYs in providers file -- take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3843 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
61309e8bd0
commit
ee666a6d79
@ -1263,7 +1263,7 @@ __EOF__
|
||||
if [ "x$gateway" = xdetect ] ; then
|
||||
save_command "DEFAULT_ROUTE=\"\$DEFAULT_ROUTE nexthop via \$gateway dev $interface weight 1\""
|
||||
else
|
||||
save_command "DEFAULT_ROUTE=\"\$DEFAULT_ROUTE nexthop via \$gateway dev $interface weight 1\""
|
||||
save_command "DEFAULT_ROUTE=\"\$DEFAULT_ROUTE nexthop via $gateway dev $interface weight 1\""
|
||||
fi
|
||||
;;
|
||||
loose)
|
||||
|
Loading…
Reference in New Issue
Block a user