freebsd-skq/sbin/route
Mike Makonnen 530378f8b9 Fix an error in bit shifting logic for network addresses. The route
command would add incorrect routing entries if network numbers weren't
fully "spelled" out according to their class. For example:
  # route add 128.0/16   (works)
  # route add 128/16     (doesn't work)
  # route add 193.0.0/24 (works)
  # route add 193/24     (doesn't work)

Also, rework the way a netmask is deduced from network number if
it [netmask] is not specified.

Submitted by:	Nuno Antunes <nuno.antunes@gmail.com> (mostly)
MFC after:	1 week
2007-10-29 00:08:24 +00:00
..
keywords Introduce "route del" as an alias to "route delete". 2005-09-28 12:12:15 +00:00
Makefile Obey MK_INET6_SUPPORT. 2006-07-27 13:26:29 +00:00
route.8 Document that -q option is also applicable to the "change" command. 2005-10-02 12:55:34 +00:00
route.c Fix an error in bit shifting logic for network addresses. The route 2007-10-29 00:08:24 +00:00