From a866db8b145bb3b71d3076bbda88ca69ce0ac4da Mon Sep 17 00:00:00 2001 From: delphij Date: Mon, 2 Sep 2013 23:52:25 +0000 Subject: 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 --- etc/rc.d/routing | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/rc.d/routing b/etc/rc.d/routing index 74e5472..284aa7d 100755 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -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 -- cgit v1.1