Fix restoration of route with a metric

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4767 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-10-30 19:24:31 +00:00
parent 5f8b002909
commit 656f2c2128

View File

@ -1317,7 +1317,7 @@ restore_default_route() {
default*) default*)
if [ -n "$default_route" ]; then if [ -n "$default_route" ]; then
case "$default_route" in case "$default_route" in
metric) *metric*)
# #
# Don't restore a route with a metric -- we only replace the one with metric == 0 # Don't restore a route with a metric -- we only replace the one with metric == 0
# #