Date: Mon, 15 Sep 2003 16:38:06 -0700 (PDT) From: Bill Fenner <fenner@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net inet_net_pton.c Message-ID: <200309152338.h8FNc6o6098471@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
fenner 2003/09/15 16:38:06 PDT
FreeBSD src repository
Modified files:
lib/libc/net inet_net_pton.c
Log:
From OpenBSD:
always widen the imputed netmask if it is narrower than the specified octets.
fixes a strange behaviour where inet_net_pton would always return 4 (bits)
for multicast addresses no matter how many octets were specified.
negotiated with Paul Vixie, original author of this function.
PR: standards/53151
Submitted by: Max Laier <max@love2party.net>
Optained from: OpenBSD
Revision Changes Path
1.9 +1 -1 src/lib/libc/net/inet_net_pton.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309152338.h8FNc6o6098471>
