From owner-cvs-src@FreeBSD.ORG Wed Feb 14 14:17:02 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89AF716A400; Wed, 14 Feb 2007 14:17:02 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7BABC13C478; Wed, 14 Feb 2007 14:17:02 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1EEH2t8008287; Wed, 14 Feb 2007 14:17:02 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1EEH2iG008286; Wed, 14 Feb 2007 14:17:02 GMT (envelope-from bms) Message-Id: <200702141417.l1EEH2iG008286@repoman.freebsd.org> From: Bruce M Simpson Date: Wed, 14 Feb 2007 14:17:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/netstat route.c src UPDATING X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 14:17:02 -0000 bms 2007-02-14 14:17:01 UTC FreeBSD src repository Modified files: usr.bin/netstat route.c . UPDATING Log: Retire most of the classful network behaviour of netstat -r output, for IPv4. Without -n, we now only print a "network name" without the prefix length under the following conditions: 1) the network address and mask matches a classful network prefix; 2) getnetbyaddr(3) returns a network name for this network address. With -n, we unconditionally print the full unabbreviated CIDR network prefix in the form "a.b.c.d/p". 0.0.0.0/0 is still printed as "default". This change is in preparation for changes such as equal-cost multipath, and to more generally assist operational deployment of FreeBSD as a modern IPv4 router. There are currently no plans to backport this change. Discussed on: freebsd-net Revision Changes Path 1.473 +11 -0 src/UPDATING 1.81 +9 -52 src/usr.bin/netstat/route.c