diff options
author | mtm <mtm@FreeBSD.org> | 2007-10-29 00:08:24 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2007-10-29 00:08:24 +0000 |
commit | 13c20f2c7d06b16936b3c933c7e11925205f0ba5 (patch) | |
tree | e79ca45908968e5e2f88cc6c5b1c3744273c44e4 /share/misc/pci_vendors | |
parent | 5d7e7a3ea72c8aeea39f3ea1d0d09db27de48ca3 (diff) | |
download | FreeBSD-src-13c20f2c7d06b16936b3c933c7e11925205f0ba5.zip FreeBSD-src-13c20f2c7d06b16936b3c933c7e11925205f0ba5.tar.gz |
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
Diffstat (limited to 'share/misc/pci_vendors')
0 files changed, 0 insertions, 0 deletions