shutdown node VS disconnect all hooks

Gleb Smirnoff glebius at cell.sick.ru
Fri May 28 11:16:12 GMT 2004


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
-------------- next part --------------
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 ,


More information about the freebsd-net mailing list