cvs commit: src/sys/net if_tun.c
Brian Somers
brian at Awfulhak.org
Wed Mar 26 02:49:27 PST 2003
On Sat, 8 Mar 2003 11:32:50 -0600, Jonathan Lemon wrote:
> On Sun, Mar 09, 2003 at 02:27:23AM +0900, Hajimu UMEMOTO wrote:
> > Hi,
> >
> > >>>>> On Sat, 8 Mar 2003 11:08:05 -0600
> > >>>>> Jonathan Lemon <jlemon at flugsvamp.com> said:
> >
> > jlemon> On Sun, Mar 09, 2003 at 01:44:39AM +0900, Makoto Matsushita wrote:
> > >
> > > Just a question.
> > >
> > > jlemon> Modified files:
> > > jlemon> sys/net if_tun.c
> > > jlemon> Log:
> > > jlemon> The tun driver is INET only.
> > >
> > > Doesn't this change disable IPv6 support of ppp(8)?
> >
> > jlemon> Perhaps I goofed, but parts of the code (like tuninit()) certainly
> > jlemon> seem to indicate that the driver is already INET-only.
> >
> > The code you mentioned has precondition. Can ppp(8) support IPv6 with
> > any obstruction for IPv6 in if_tun?
>
> I'm not sure. However, I've backed the change out, and the current
> level of support should be identical to the historic behavior.
FWIW if_tun does support IPv6 -- it's just abstracted a bit so that we can
build it into a module without knowing in advance whether the kernel has
IPv6 support built in.
tuninit() just *looks* IPv4-only because it sets up a dstaddr for IPv4
configurations, where IPv6 just uses a prefixlen of 128.
Cheers.
> --
> Jonathan
>
--
Brian <brian at Awfulhak.org> <brian.somers at sun.com>
<http://www.Awfulhak.org> <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>
More information about the cvs-src
mailing list