Date: Wed, 1 Sep 2010 20:25:36 +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: <201009012025.o81KPrIT033277@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009012025.o81KPrIT033277>
