cvs commit: src/lib/libc/net gethostbydns.c gethostnamadr.c

Hajimu UMEMOTO ume at FreeBSD.org
Fri Apr 29 12:55:24 PDT 2005


ume         2005-04-29 19:55:23 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/net         gethostbydns.c gethostnamadr.c 
  Log:
  - do validation check and IPv4-mapped IPv6 address handling before
    any query.
  - don't query against IPv6 link-local address.
  - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros.
  - use memcpy() instead of bcopy().
  
  Inspired by:    NetBSD
  
  Revision  Changes    Path
  1.54      +5 -35     src/lib/libc/net/gethostbydns.c
  1.27      +36 -1     src/lib/libc/net/gethostnamadr.c


More information about the cvs-src mailing list