Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2013 23:52:25 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255163 - head/etc/rc.d
Message-ID:  <201309022352.r82NqPKu043379@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Mon Sep  2 23:52:25 2013
New Revision: 255163
URL: http://svnweb.freebsd.org/changeset/base/255163

Log:
  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

Modified:
  head/etc/rc.d/routing

Modified: head/etc/rc.d/routing
==============================================================================
--- head/etc/rc.d/routing	Mon Sep  2 23:27:53 2013	(r255162)
+++ head/etc/rc.d/routing	Mon Sep  2 23:52:25 2013	(r255163)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309022352.r82NqPKu043379>