forked from extern/shorewall_code
One simple thing i changed to fix the gateway detection - not good, though
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4326 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b666fe9ece
commit
7ee4c844c3
@ -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 add default via \$gateway dev $interface table $number
|
||||
else
|
||||
fatal_error "Unable to detect the gateway through interface $interface"
|
||||
error_message "WARNING: Unable to detect the gateway through interface $interface"
|
||||
fi
|
||||
|
||||
__EOF__
|
||||
|
Loading…
Reference in New Issue
Block a user