mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
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:
parent
5f8b002909
commit
656f2c2128
@ -1317,7 +1317,7 @@ restore_default_route() {
|
||||
default*)
|
||||
if [ -n "$default_route" ]; then
|
||||
case "$default_route" in
|
||||
metric)
|
||||
*metric*)
|
||||
#
|
||||
# Don't restore a route with a metric -- we only replace the one with metric == 0
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user