Date: Thu, 14 Jan 2010 15:27:18 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/ifconfig af_inet.c Message-ID: <201001141527.o0EFRWON069295@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001141527.o0EFRWON069295>
