From owner-cvs-src-old@FreeBSD.ORG Wed Sep 1 20:25:53 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 822A110656A5 for ; Wed, 1 Sep 2010 20:25:53 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 706368FC1C for ; Wed, 1 Sep 2010 20:25:53 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o81KPriY033278 for ; Wed, 1 Sep 2010 20:25:53 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o81KPrIT033277 for cvs-src-old@freebsd.org; Wed, 1 Sep 2010 20:25:53 GMT (envelope-from emaste@repoman.freebsd.org) Message-Id: <201009012025.o81KPrIT033277@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to emaste@repoman.freebsd.org using -f From: Ed Maste Date: Wed, 1 Sep 2010 20:25:36 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sbin/ifconfig af_inet.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 20:25:53 -0000 emaste 2010-09-01 20:25:36 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sbin/ifconfig af_inet.c Log: SVN rev 212114 on 2010-09-01 20:25:36Z by emaste MFC r202289: Reject invalid CIDR widths rather than silently stopping at the first non-digit character. Due to an issue with rc(8) in a test configuration, ifconfig was being invoked with the address used again as the width - for example, ifconfig vlan0 10.0.0.1/10.0.0.1 Prior to this change, that address/width would be interpreted as 10.0.0.1/10. Revision Changes Path 1.5.2.2 +8 -4 src/sbin/ifconfig/af_inet.c