Ethereal-dev: Re: [Ethereal-dev] substitute for inet(3) functions in ethereal

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

From: "Ronnie Sahlberg" <sahlberg@xxxxxxxxxxxxxxxx>
Date: Sat, 22 Jun 2002 21:24:57 +1000
Hi,
Try   ip_to_str()
or  ipv4_addr_str()


----- Original Message ----- 
From: "Bill Fumerola" 
Sent: Saturday, June 22, 2002 9:06 AM
Subject: [Ethereal-dev] substitute for inet(3) functions in ethereal


> hi.
> 
> i'm writing an ethereal dissector (code to be sent to this list in the
> next week, i promise) for cisco/caida's netflow.
> 
> i need to convert a network number into a string. i don't see any current
> use of inet_ntoa() (what i'm currently using) in the codebase, which i
> assume is because of portability issues. what should i be using?