Fix bugs in the handling of CIDR specifications such as 'route add 128/8
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 10 Sep 2007 15:13:55 +0000 (15:13 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 10 Sep 2007 15:13:55 +0000 (15:13 +0000)
commita7c98c3469705800fa15fd4eed55f2602b1d8ce5
tree0436701491179108d642f061cbdd0dbde98ad386
parent5e1a76ea883bb068cc19a9e571ca0155c25f84db
Fix bugs in the handling of CIDR specifications such as 'route add 128/8
<gateway>'.  Also rectify the way netmasks are deduced from the address class.

Submitted-by: "Nuno Antunes" <nuno.antunes@gmail.com>
sbin/route/route.c