cvs commit: src/lib/libc/net inet_net_pton.c
Bill Fenner
fenner at FreeBSD.org
Mon Sep 15 16:38:08 PDT 2003
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 at love2party.net>
Optained from: OpenBSD
Revision Changes Path
1.9 +1 -1 src/lib/libc/net/inet_net_pton.c
More information about the cvs-src
mailing list