From owner-cvs-all@FreeBSD.ORG Tue Aug 30 12:48:40 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AACA116A41F; Tue, 30 Aug 2005 12:48:40 +0000 (GMT) (envelope-from brian@Awfulhak.org) Received: from gw.Awfulhak.org (awfulhak.demon.co.uk [80.177.173.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1C1443D46; Tue, 30 Aug 2005 12:48:39 +0000 (GMT) (envelope-from brian@Awfulhak.org) Received: from cromwell.red.sophos (brian@localhost [127.0.0.1]) by gw.Awfulhak.org (8.13.3/8.13.3) with ESMTP id j7UCmW06007273; Tue, 30 Aug 2005 13:48:33 +0100 (BST) (envelope-from brian@Awfulhak.org) Date: Tue, 30 Aug 2005 13:48:27 +0100 From: Brian Somers To: Gleb Smirnoff Message-ID: <20050830134827.5c6ec64d@cromwell.red.sophos> In-Reply-To: <200508290859.j7T8xUqN030868@repoman.freebsd.org> References: <200508290859.j7T8xUqN030868@repoman.freebsd.org> X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on gw.lan.Awfulhak.org Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 12:48:40 -0000 On Mon, 29 Aug 2005 08:59:30 +0000 (UTC) Gleb Smirnoff wrote: > glebius 2005-08-29 08:59:30 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_5) > sys/netinet in.c > Log: > MFC 1.87: > In order to support CARP interfaces kernel was taught to handle more > than one interface in one subnet. However, some userland apps rely on > the believe that this configuration is impossible. > > Add a sysctl switch net.inet.ip.same_prefix_carp_only. If the switch > is on, then kernel will refuse to add an additional interface to > already connected subnet unless the interface is CARP. Default > value is off. > > PR: bin/82306 > In collaboration with: mlaier > > Revision Changes Path > 1.77.2.4 +12 -2 src/sys/netinet/in.c This would be much more useful on a per-interface level, although it would be a bit awkward to implement. This change allows a (user) ppp server machine to allocate dynamic IP numbers properly again, but I don't know if documenting it is the right way to go... -- Brian Somers Don't _EVER_ lose your sense of humour !