Re: ipcacheAddEntryFromHosts - problem with ip6 info in /etc/hosts

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 31 Oct 2001 11:24:48 +0100

Yes, but what about the ':' part of the question?

I.e. is it safe to assume that IPv6 addresses always have one or more : in
them?

Regards
Henrik

On Wednesday 31 October 2001 11.23, Roger Venning wrote:

> Yep, the only valid characters are [0-9a-fA-F.:], I think taken care of
> in the sscanf format string, so yes, we could perhaps move to log level 2.
>
> Roger.
>
> ----- Original Message -----
> From: Henrik Nordström <hno@marasystems.com>
>
> > Question: Does all of the formats include at least one or more ':'?
> >
> > If so, assuming that addresses having ':' in them and only
> > consists of valid
> > characters are IPv6 is a good enough check for me for moving the
> > message to
> > log level 2.
> >
> > Regards
> > Henrik
Received on Wed Oct 31 2001 - 03:25:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:36 MST