From owner-cvs-src@FreeBSD.ORG Fri Nov 14 12:58:01 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA05416A4CE; Fri, 14 Nov 2003 12:58:01 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7684D43FD7; Fri, 14 Nov 2003 12:58:01 -0800 (PST) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAEKw1XJ072514; Fri, 14 Nov 2003 12:58:01 -0800 (PST) (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAEKw0Kv072511; Fri, 14 Nov 2003 12:58:00 -0800 (PST) (envelope-from bms) Message-Id: <200311142058.hAEKw0Kv072511@repoman.freebsd.org> From: Bruce M Simpson Date: Fri, 14 Nov 2003 12:58:00 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/modules/if_gre Makefile src/sys/net if_gre.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2003 20:58:02 -0000 bms 2003/11/14 12:58:00 PST FreeBSD src repository Modified files: sys/modules/if_gre Makefile sys/net if_gre.c Log: Fix a bug whereby the physical endpoints of a gre(4) tunnel would not be printed, if the module were loaded into a kernel which had INET6 enabled. The gre(4) driver does not use INET6, nor is it specified for IPv6. The tunnel_status() function in ifconfig(8) is somewhat overzealous and assumes that all tunnel interfaces speak KAME ifioctls. This fix follows the path of least resistance, by teaching gre(4) about the two KAME ifioctls concerned. PR: bin/56341 Revision Changes Path 1.5 +5 -2 src/sys/modules/if_gre/Makefile 1.14 +7 -0 src/sys/net/if_gre.c