Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal inet_ntop.c inet_pton.c Makefile.am

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jun-ichiro itojun Hagino <itojun@xxxxxxxxxxxx>
Date: Thu, 14 Oct 1999 00:41:54 -0500 (CDT)
itojun      1999/10/14 00:41:43 CDT

  Modified files:
    .                    Makefile.am configure.in packet-ipv6.c 
                         packet-ipv6.h packet.c packet.h resolv.c 
  Added files:
    .                    inet_ntop.c inet_pton.c 
  Log:
  use inet_pton() and inet_ntop(), which are RFC2553 standard function
  for converting IPv[46] numeric notation to/from binary form.
  recent BIND includes those functions so fallback is not necessary on
  most of the platforms.
  sorry if it raises any portability problem on other platforms.
  
  remove partial inclusion of inet_ntop() in packet-ipv6.c.
  
  move ip6_to_str() to packet.c, it fits better there than packet-ipv6.c.
  
  Revision  Changes    Path
  1.86      +8 -4      ethereal/Makefile.am
  1.51      +43 -3     ethereal/configure.in
  1.20      +1 -165    ethereal/packet-ipv6.c
  1.6       +1 -4      ethereal/packet-ipv6.h
  1.47      +13 -1     ethereal/packet.c
  1.110     +3 -1      ethereal/packet.h
  1.14      +32 -1     ethereal/resolv.c