Subject: CVS commit: basesrc/usr.bin/netstat
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 02/27/2002 04:33:51
Module Name: basesrc
Committed By: lukem
Date: Wed Feb 27 02:33:51 UTC 2002
Modified Files:
basesrc/usr.bin/netstat: inet.c
Log Message:
if not -n and the local socket doesn't have INP_ANONPORT set, always try
to determine the symbolic name of the foreign port.
previously the foreign port would be displayed numerically in this case if
the local & foreign ports were different. this particular behaviour was
added in rev 1.28 when I added INP_ANONPORT support from FreeBSD, and for
the life of me I can't fathom the rationale for it ;-|
To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 basesrc/usr.bin/netstat/inet.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.