OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Henning Brauer (henningcvs.openbsd.org)
Date: Fri Apr 25 2003 - 14:40:26 CDT


CVSROOT: /cvs
Module name: src
Changes by: henning@cvs.openbsd.org 2003/04/25 13:40:26

Modified files:
        lib/libc/net : inet_net_pton.c

Log message:
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.

ok millert@