Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/usr.bin/netstat




To: source-changes%netbsd.org@localhost

Subject: CVS commit: basesrc/usr.bin/netstat

From: Luke Mewburn <lukem%netbsd.org@localhost>

Date: Wed, 27 Feb 2002 04:33:51 +0200 (EET)


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.






Prev by Date: CVS commit: basesrc/regress/sys/crypto

Next by Date: CVS commit: syssrc/sys/arch/powerpc/powerpc

Previous by Thread: CVS commit: basesrc/regress/sys/crypto

Next by Thread: CVS commit: syssrc/sys/arch/powerpc/powerpc

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index