svn commit: r190758 - head/sbin/route
Dag-Erling Smørgrav
des at des.no
Tue Apr 7 09:26:16 PDT 2009
Robert Watson <rwatson at FreeBSD.org> writes:
> Does this maintain compatibility for people who may still mysteriously
> be specifying class-based IPs and netmasks in configuration files? If
> not, this should not be MFC'd...
Here's the really ugly part...
% ping 10
PING 10 (0.0.0.10): 56 data bytes
% ping 10.1
PING 10.1 (10.0.0.1): 56 data bytes
% ping 10.1.1
PING 10.1.1 (10.1.0.1): 56 data bytes
This makes no sense at all today, but we can't fix it, because it's the
documented and standard-mandated behavior of inet_pton(3) and, if I'm
not mistaken, getaddrinfo(3).
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the svn-src-head
mailing list