From owner-freebsd-net@FreeBSD.ORG Sat Nov 19 09:18:09 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34BCF106566B; Sat, 19 Nov 2011 09:18:09 +0000 (UTC) (envelope-from philip@freebsd.org) Received: from rincewind.paeps.cx (rincewind.paeps.cx [IPv6:2002:596a:f092::149]) by mx1.freebsd.org (Postfix) with ESMTP id F07558FC1E; Sat, 19 Nov 2011 09:18:08 +0000 (UTC) Received: from [192.168.2.103] (IGLD-84-229-200-171.inter.net.il [84.229.200.171]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: philip) by rincewind.paeps.cx (Postfix) with ESMTPSA id ADC9DD744B0; Sat, 19 Nov 2011 10:18:01 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Philip Paeps In-Reply-To: <1321651935.2883.74.camel@bwh-desktop> Date: Sat, 19 Nov 2011 11:18:08 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <1321651935.2883.74.camel@bwh-desktop> To: Ben Hutchings X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-net@freebsd.org, marius@freebsd.org Subject: Re: sfxge: Fix if_baudrate reports X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2011 09:18:09 -0000 On 18 Nov 2011, at 23:32, Ben Hutchings wrote: > sfxge: Fix if_baudrate reports > > This field is supposed to be set to the interface bit rate, but for > some reason I thought it was denominated in kilobits. Multiply the > values up accordingly, taking care to saturate rather than overflow on > 32-bit architectures. Committed. Thanks! - Philip -- Philip Paeps Senior Reality Engineer Ministry of Information