From owner-cvs-all@FreeBSD.ORG Tue Mar 25 18:49:16 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3329B37B42B; Tue, 25 Mar 2003 18:49:07 -0800 (PST) Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF98944093; Tue, 25 Mar 2003 18:34:26 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from mail.lan.Awfulhak.org (brian@hak.Awfulhak.org [IPv6:2001:6f8:602:1::12]) by Awfulhak.org (8.12.8/8.12.8) with SMTP id h2Q2XjTj016093; Wed, 26 Mar 2003 02:33:45 GMT (envelope-from brian@Awfulhak.org) Date: Wed, 26 Mar 2003 02:33:44 +0000 From: Brian Somers To: Jonathan Lemon Message-Id: <20030326023344.26c116e8.brian@Awfulhak.org> In-Reply-To: <20030308113250.H61787@flugsvamp.com> References: <200303081626.h28GQZjZ094534@repoman.freebsd.org> <20030309014439Q.matusita@jp.FreeBSD.org> <20030308110805.G61787@flugsvamp.com> <20030308113250.H61787@flugsvamp.com> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-26.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: matusita@jp.FreeBSD.org cc: src-committers@FreeBSD.org cc: brian@FreeBSD.org cc: ume@mahoroba.org cc: cvs-src@FreeBSD.org cc: jlemon@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_tun.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 02:49:30 -0000 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 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 Don't _EVER_ lose your sense of humour !