From owner-cvs-src-old@FreeBSD.ORG Thu Oct 15 10:31:49 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 009BE106568D for ; Thu, 15 Oct 2009 10:31:49 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id CA26E8FC12 for ; Thu, 15 Oct 2009 10:31:48 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9FAVmQI096368 for ; Thu, 15 Oct 2009 10:31:48 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9FAVmA1096367 for cvs-src-old@freebsd.org; Thu, 15 Oct 2009 10:31:48 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200910151031.n9FAVmA1096367@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Thu, 15 Oct 2009 10:31:24 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/netstat route.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 10:31:49 -0000 rwatson 2009-10-15 10:31:24 UTC FreeBSD src repository Modified files: usr.bin/netstat route.c Log: SVN rev 198118 on 2009-10-15 10:31:24Z by rwatson Print routing statistics as unsigned short rather than unsigned int, otherwise sign extension leads to unlikely values when in the negative range of the signed short structure fields that hold the statistics. The type used to hold routing statistics is arguably also incorrect. MFC after: 3 days Revision Changes Path 1.95 +5 -5 src/usr.bin/netstat/route.c