On Tue, 7 Apr 2009, Dag-Erling Smørgrav wrote:

Robert Watson <rwat...@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).

Sadly, I'm familiar with this already :-(. However, for the time being, I'm less concerned about ugliness, and more concerned about breaking existing scripts and tools.

Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to