Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2012 00:51:23 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r231326 - stable/9/sys/net
Message-ID:  <201202100051.q1A0pNa2046095@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Fri Feb 10 00:51:23 2012
New Revision: 231326
URL: http://svn.freebsd.org/changeset/base/231326

Log:
  MFC r230510:
  
   Replace random ARIN direct assignment legacy IPs with proper RFC 5735
   TEST-NET1 block for use in documentation and example code addresses.

Modified:
  stable/9/sys/net/route.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/net/route.c
==============================================================================
--- stable/9/sys/net/route.c	Fri Feb 10 00:24:41 2012	(r231325)
+++ stable/9/sys/net/route.c	Fri Feb 10 00:51:23 2012	(r231326)
@@ -1503,10 +1503,10 @@ rtinit1(struct ifaddr *ifa, int cmd, int
 #ifdef RADIX_MPATH
 			/*
 			 * in case address alias finds the first address
-			 * e.g. ifconfig bge0 192.103.54.246/24
-			 * e.g. ifconfig bge0 192.103.54.247/24
-			 * the address set in the route is 192.103.54.246
-			 * so we need to replace it with 192.103.54.247
+			 * e.g. ifconfig bge0 192.0.2.246/24
+			 * e.g. ifconfig bge0 192.0.2.247/24
+			 * the address set in the route is 192.0.2.246
+			 * so we need to replace it with 192.0.2.247
 			 */
 			if (memcmp(rt->rt_ifa->ifa_addr,
 			    ifa->ifa_addr, ifa->ifa_addr->sa_len)) {



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