From owner-cvs-all Fri Nov 30 6: 1: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 954E337B416; Fri, 30 Nov 2001 06:00:55 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fAUE0tj62293; Fri, 30 Nov 2001 06:00:55 -0800 (PST) (envelope-from brian) Message-Id: <200111301400.fAUE0tj62293@freefall.freebsd.org> From: Brian Somers Date: Fri, 30 Nov 2001 06:00:55 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG brian 2001/11/30 06:00:55 PST Modified files: sys/netinet in.c Log: During SIOCAIFADDR, if in_ifinit() fails and we've already added an interface address, blow the address away again before returning the error. In in_ifinit(), if we get an error from rtinit() and we've also got a destination address, return the error rather than masking EEXISTS. Failing to create a host route when configuring an interface should be treated as an error. Revision Changes Path 1.61 +39 -24 src/sys/netinet/in.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message