Ed Maste 40efe37e07 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.
2010-01-14 15:27:18 +00:00
..
2009-12-06 00:10:13 +00:00
2009-11-26 08:49:46 +00:00
2009-03-08 18:02:30 +00:00
2006-10-31 22:07:29 +00:00
2010-01-13 17:58:49 +00:00
2009-12-15 09:46:27 +00:00
2006-09-30 11:12:36 +00:00
2010-01-02 17:32:40 +00:00
2009-01-11 22:36:45 +00:00
2008-09-29 05:31:27 +00:00