cvs commit: src/lib/libc/net inet_net_pton.c

From: Bill Fenner <fenner_at_FreeBSD.org>
Date: Mon, 15 Sep 2003 16:38:06 -0700 (PDT)
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
Received on Mon Sep 15 2003 - 16:38:08 UTC