Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 15:20:32 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230510 - head/sys/net
Message-ID:  <201201241520.q0OFKW0x080889@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Tue Jan 24 15:20:31 2012
New Revision: 230510
URL: http://svn.freebsd.org/changeset/base/230510

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

Modified:
  head/sys/net/route.c

Modified: head/sys/net/route.c
==============================================================================
--- head/sys/net/route.c	Tue Jan 24 15:13:55 2012	(r230509)
+++ head/sys/net/route.c	Tue Jan 24 15:20:31 2012	(r230510)
@@ -1498,10 +1498,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?201201241520.q0OFKW0x080889>