mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255163
@ -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…
Reference in New Issue
Block a user