From owner-cvs-all Mon Feb 5 3:35: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from level3.dynacom.net (level3.dynacom.net [206.107.213.213]) by hub.freebsd.org (Postfix) with SMTP id 6051937B65D for ; Mon, 5 Feb 2001 03:34:38 -0800 (PST) Received: (qmail 8592 invoked by uid 0); 5 Feb 2001 11:34:35 -0000 Received: from unknown (HELO urx.com) (206.159.132.160) by mail.urx.com with SMTP; 5 Feb 2001 11:34:35 -0000 Message-ID: <3A7E8FCB.FE34333A@urx.com> Date: Mon, 05 Feb 2001 03:34:35 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Julian Elischer Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netgraph ng_base.c References: <200102050710.f157A8l44728@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer wrote: > > julian 2001/02/04 23:10:08 PST > > Modified files: (Branch: RELENG_4) > sys/netgraph ng_base.c > Log: > reverse last commit.. I was on something... (gotta get a better suppler!..) > Obviously on the same stuff: Archie > > Revision Changes Path > 1.11.2.12 +3 -2 src/sys/netgraph/ng_base.c If you are trying to compare like -current, I think you need the following LIST_FOREACH(node, &nodelist, nodes) { if ((node->name != NULL) && (strcmp(node->name, name) == 0) && ((node->flags & NG_INVALID) == 0)) break; } Kent -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message