Date: Fri, 28 May 2004 15:15:08 +0400 From: Gleb Smirnoff <glebius@cell.sick.ru> To: Julian Elischer <julian@elischer.org> Cc: Harti Brandt <harti@freebsd.org> Subject: Re: shutdown node VS disconnect all hooks Message-ID: <20040528111508.GA43751@cell.sick.ru> In-Reply-To: <Pine.BSF.4.21.0405280128570.63204-100000@InterJet.elischer.org> References: <Pine.GSO.4.60.0405281022360.18426@zeus> <Pine.BSF.4.21.0405280128570.63204-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040528111508.GA43751>