summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-01-24 15:20:31 +0000
committerbz <bz@FreeBSD.org>2012-01-24 15:20:31 +0000
commit417a8b2daa34522c4330e589966ae4bd37b4bca2 (patch)
treedb142908505b12a839ece14c0759e88f920808ee /sys/net
parentbedff26e9c8f425073fa6c5ee2eecb9f743defa4 (diff)
downloadFreeBSD-src-417a8b2daa34522c4330e589966ae4bd37b4bca2.zip
FreeBSD-src-417a8b2daa34522c4330e589966ae4bd37b4bca2.tar.gz
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
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/route.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index eb7deba..296914b 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1498,10 +1498,10 @@ rtinit1(struct ifaddr *ifa, int cmd, int flags, int fibnum)
#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)) {
OpenPOWER on IntegriCloud