From owner-freebsd-net@FreeBSD.ORG Fri May 28 04:16:12 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A28C16A4CE; Fri, 28 May 2004 04:16:12 -0700 (PDT) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38F0B43D1F; Fri, 28 May 2004 04:16:11 -0700 (PDT) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i4SBF9vw043767 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 May 2004 15:15:09 +0400 (MSD) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i4SBF9Gk043766; Fri, 28 May 2004 15:15:09 +0400 (MSD) Date: Fri, 28 May 2004 15:15:08 +0400 From: Gleb Smirnoff To: Julian Elischer Message-ID: <20040528111508.GA43751@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Julian Elischer , Harti Brandt , freebsd-net@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org cc: Harti Brandt Subject: Re: shutdown node VS disconnect all hooks X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 11:16:12 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=koi8-r Content-Disposition: inline On Fri, May 28, 2004 at 01:31:09AM -0700, Julian Elischer wrote: J> It'd be best to make the change to sparse initialisers a separate patch J> that I cold commit separatly, J> so reduce teh size of the functionality change patch. ... and describe this behavior in manpage. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE --T4sUOijqQbZv57TR Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="ng_tee.4.diff" Index: ng_tee.4 =================================================================== RCS file: /home/ncvs/src/share/man/man4/ng_tee.4,v retrieving revision 1.12 diff -u -r1.12 ng_tee.4 --- ng_tee.4 1 Oct 2001 16:09:21 -0000 1.12 +++ ng_tee.4 28 May 2004 11:14:19 -0000 @@ -35,7 +35,7 @@ .\" $FreeBSD: src/share/man/man4/ng_tee.4,v 1.12 2001/10/01 16:09:21 ru Exp $ .\" $Whistle: ng_tee.8,v 1.4 1999/01/25 23:46:27 archie Exp $ .\" -.Dd January 19, 1999 +.Dd May 28, 2004 .Dt NG_TEE 4 .Os .Sh NAME @@ -108,9 +108,19 @@ Clear statistics. .El .Sh SHUTDOWN -This node shuts down upon receipt of a +This node shuts down upon receipt of an .Dv NGM_SHUTDOWN control message, or when all hooks have been disconnected. +If both +.Dv right +and +.Dv left +hooks are present, node removes itself from the chain gently, +connecting +.Dv right +and +.Dv left +together. .Sh SEE ALSO .Xr tee 1 , .Xr netgraph 4 , --T4sUOijqQbZv57TR--