Fix bugs in the handling of CIDR specifications such as 'route add 128/8
commite44e444be36b60feb6b9d3801bb04d271fbe16a6
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 10 Sep 2007 15:13:55 +0000 (10 15:13 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 10 Sep 2007 15:13:55 +0000 (10 15:13 +0000)
tree3d7e854f93c5c13318924c0965af7a5ccf5c6d6f
parent129f9f81394aa4a81e9a541ce489d6d47dd35130
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