forked from extern/shorewall_code
revert previous change
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4327 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7ee4c844c3
commit
7c3abf2aca
@ -1191,7 +1191,7 @@ if [ -n "\$gateway" ]; then
|
|||||||
run_ip route replace \$gateway src \$(find_first_interface_address $interface) dev $interface table $number
|
run_ip route replace \$gateway src \$(find_first_interface_address $interface) dev $interface table $number
|
||||||
run_ip route add default via \$gateway dev $interface table $number
|
run_ip route add default via \$gateway dev $interface table $number
|
||||||
else
|
else
|
||||||
error_message "WARNING: Unable to detect the gateway through interface $interface"
|
fatal_error "Unable to detect the gateway through interface $interface"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
__EOF__
|
__EOF__
|
||||||
|
Loading…
Reference in New Issue
Block a user