Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 1997 12:13:55 -0400 (EDT)
From:      Christopher Masto <chris@chris.netmonger.net>
To:        obrien@FreeBSD.ORG, bugs@FreeBSD.ORG, jdd@cs.toronto.edu
Subject:   Re: cvs commit:  ports/sysutils/tcplist - Imported sources
Message-ID:  <199704241613.MAA07353@chris.netmonger.net>
In-Reply-To: <199704240804.BAA13586@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199704240804.BAA13586@freefall.freebsd.org> you write:
>obrien      97/04/24 01:04:53
>
>  ports/sysutils/tcplist - Imported sources
>  Update of /home/ncvs/ports/sysutils/tcplist
>  In directory freefall.freebsd.org:/e/work/obrien/tcplist

There is a minor bug in this program (originally).  utils.c, line 287:

                        sv=getservbyport((int)pnum, NULL);

Should be:

                        sv=getservbyport(htons((int)pnum), NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704241613.MAA07353>