svn commit: r255163 - head/etc/rc.d

Xin LI delphij at FreeBSD.org
Mon Sep 2 23:52:26 UTC 2013


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


More information about the svn-src-all mailing list