From owner-cvs-src@FreeBSD.ORG Sat Oct 22 14:50:31 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7195616A41F; Sat, 22 Oct 2005 14:50:31 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3901743D5C; Sat, 22 Oct 2005 14:50:28 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9MEoRQq009777; Sat, 22 Oct 2005 14:50:27 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9MEoR7x009776; Sat, 22 Oct 2005 14:50:27 GMT (envelope-from glebius) Message-Id: <200510221450.j9MEoR7x009776@repoman.freebsd.org> From: Gleb Smirnoff Date: Sat, 22 Oct 2005 14:50:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet in.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2005 14:50:31 -0000 glebius 2005-10-22 14:50:27 UTC FreeBSD src repository Modified files: sys/netinet in.c Log: In in_addprefix() compare not only route addresses, but their masks, too. This fixes problem when connected prefixes overlap. Obtained from: OpenBSD (rev. 1.40 by claudio); [ I came to this fix myself, and then found out that OpenBSD had already fixed it the same way.] Revision Changes Path 1.91 +13 -8 src/sys/netinet/in.c