On Fri, Mar 04, 2005 at 02:14:19PM +0100, Thomas Graf wrote:
>
> I do not agree but I might have a better idea. Let's change iproute2
> to provide a prefixlength of 0 if no prefix was specified and only
> compare the prefixes if it is non zero. This allows for accurate
A bigger problem with this approach is that we don't have a magical
way of getting people to upgrade their ip(8) binary.
To do this safely, we'll need a way of indicating that the ip(8) binary
is setting the prefixlen in the way you propose. Perhaps this can be
done using a new IFA payload type.
Alternatively you can use the value of /32 to indicate a wildcard match
instead of /0. After all, /0 has a specific meaning in this context so
it's just as arbitrary to choose /0 as opposed to /32.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|