gabriel rosenkoetter on Fri, 21 Dec 2001 19:30:11 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] enumerating the interfaces on a host


On Fri, Dec 21, 2001 at 11:00:38AM -0500, Kyle R . Burton wrote:
> The code returns inet6 addrs on one of the hosts I'm testing it on (a FreeBSD
> box that has some ipv6 stuff).  How can I test the addr to see if it's
> ipv4?  And skip it if it's not?

See if it matches /.*:.*/?

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgpIiIMXWiP0O.pgp
Description: PGP signature