Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2009 22:25:49 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Lars Eggert <lars.eggert@nokia.com>
Cc:        "freebsd-ipfw@FreeBSD.org" <freebsd-ipfw@FreeBSD.org>
Subject:   Re: bin/117214: ipfw(8) fwd with IPv6 treats input as IPv4
Message-ID:  <4A91A5CD.1010901@digiware.nl>
In-Reply-To: <67526C6C-7C00-4D0F-A987-B9AA42868E59@nokia.com>
References:  <200908220010.n7M0A419071352@freefall.freebsd.org> <4A8FD99F.1050406@digiware.nl> <67526C6C-7C00-4D0F-A987-B9AA42868E59@nokia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Lars Eggert wrote:
> Well, one pretty simple (and not always correct) fix would be to assume 
> that if an address has more than 1 colon, it's IPv6.
> 
> The correct fix is to generate a small flex parser.

Which will require to spec an real grammar for the tokens.
In itself of course a "good thing(tm)"

--WjW




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A91A5CD.1010901>