From owner-freebsd-net@FreeBSD.ORG Tue Jul 29 10:51:33 2003 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 CFB5537B404 for ; Tue, 29 Jul 2003 10:51:33 -0700 (PDT) Received: from vsmtp3.tin.it (vsmtp3.tin.it [212.216.176.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F9A843F85 for ; Tue, 29 Jul 2003 10:51:32 -0700 (PDT) (envelope-from flag@tin.it) Received: from newluxor.skynet.org (80.182.24.132) by vsmtp3.tin.it (7.0.019) id 3F16C22A003EE6BD for freebsd-net@FreeBSD.ORG; Tue, 29 Jul 2003 19:51:30 +0200 Received: by newluxor.skynet.org (Postfix, from userid 1002) id 73FD68C; Tue, 29 Jul 2003 19:53:12 +0200 (CEST) Date: Tue, 29 Jul 2003 19:53:12 +0200 From: Paolo Pisati To: FreeBSD_Net Message-ID: <20030729175312.GA2266@newluxor.skynet.org> References: <20030729161225.GA231@newluxor.skynet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD newluxor.skynet.org 4.8-STABLE FreeBSD 4.8-STABLE Subject: Re: Differences between netgraph nodes in 4.x and 5.x 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: Tue, 29 Jul 2003 17:51:34 -0000 On Tue, Jul 29, 2003 at 09:59:14AM -0700, Julian Elischer wrote: > > The fix in this case would be for the ether node to not allow this ti > happen.. > this requires a few small changes.. > The error codes must exist in sys/errno.h > I try select one that is closest in spirit :-) maybe: #define EISCONN 56 /* Socket is already connected */ or #define ECONNREFUSED 61 /* Connection refused */ but anyway it's not vital anymore, now i that know i won't make the same mistake again... =) but it seems that there's another problem now, while loading the nodes, that freeze my box... -- Paolo GUFI: http://www.gufi.org