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

From: Roger Venning <r.venning@dont-contact.us>
Date: Thu, 01 Nov 2001 18:49:21 +1100

Yes, it is Henrik,

all IPv6 addresses will have at least two ':' characters.

Roger.

----- Original Message -----
From: Henrik Nordstrom <hno@squid-cache.org>
Date: Wednesday, October 31, 2001 9:24 pm
Subject: Re: ipcacheAddEntryFromHosts - problem with ip6 info in /etc/hosts

> 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 Thu Nov 01 2001 - 00:42:54 MST

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