From owner-cvs-src-old@FreeBSD.ORG Thu Jan 14 15:27:32 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 76FB31065692 for ; Thu, 14 Jan 2010 15:27:32 +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 6504F8FC13 for ; Thu, 14 Jan 2010 15:27:32 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o0EFRW5E069296 for ; Thu, 14 Jan 2010 15:27:32 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0EFRWON069295 for cvs-src-old@freebsd.org; Thu, 14 Jan 2010 15:27:32 GMT (envelope-from emaste@repoman.freebsd.org) Message-Id: <201001141527.o0EFRWON069295@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to emaste@repoman.freebsd.org using -f From: Ed Maste Date: Thu, 14 Jan 2010 15:27:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Thu, 14 Jan 2010 15:27:32 -0000 emaste 2010-01-14 15:27:18 UTC FreeBSD src repository Modified files: sbin/ifconfig af_inet.c Log: SVN rev 202289 on 2010-01-14 15:27:18Z by emaste 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.6 +8 -4 src/sbin/ifconfig/af_inet.c