Create the default router last. This allows using an static
interface route for default routes, which seems to be common among many dedicated hosting providers. Reviewed by: hrs MFC after: 2 weeks
This commit is contained in:
parent
a28c9ff0b7
commit
335c94e632
@ -143,7 +143,7 @@ static_inet()
|
||||
[Nn][Oo] | '')
|
||||
;;
|
||||
*)
|
||||
static_routes="_default ${static_routes}"
|
||||
static_routes="${static_routes} _default"
|
||||
route__default="default ${defaultrouter}"
|
||||
;;
|
||||
esac
|
||||
@ -205,7 +205,7 @@ static_inet6()
|
||||
[Nn][Oo] | '')
|
||||
;;
|
||||
*)
|
||||
ipv6_static_routes="_default ${ipv6_static_routes}"
|
||||
ipv6_static_routes="${ipv6_static_routes} _default"
|
||||
ipv6_route__default="default ${ipv6_defaultrouter}"
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user