From owner-cvs-all@FreeBSD.ORG Wed Jun 16 07:01:06 2004 Return-Path: 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 4A80516A4CE; Wed, 16 Jun 2004 07:01:06 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C3B543D58; Wed, 16 Jun 2004 07:01:06 +0000 (GMT) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5G70pDq022672; Wed, 16 Jun 2004 07:00:51 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5G70o4A022671; Wed, 16 Jun 2004 07:00:50 GMT (envelope-from bms) Message-Id: <200406160700.i5G70o4A022671@repoman.freebsd.org> From: Bruce M Simpson Date: Wed, 16 Jun 2004 07:00:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/netstat inet.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 16 Jun 2004 07:01:06 -0000 bms 2004-06-16 07:00:50 UTC FreeBSD src repository Modified files: usr.bin/netstat inet.c Log: Make netstat(1) more closely follow documented behaviour. If a TCP socket in LISTEN state happens to be bound to an interface, it will show up in netstat(1) output even without the -a switch. As the definition of "sockets used by server processes" is a difficult one to qualify with regards to UDP, do not change the output behaviour for UDP sockets. PR: bin/26359 Revision Changes Path 1.65 +2 -1 src/usr.bin/netstat/inet.c