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:
Xin LI 2013-09-02 23:52:25 +00:00
parent a28c9ff0b7
commit 335c94e632
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255163

View file

@ -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