Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 15:25:25 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        digital <digital@blackroses.com>
Cc:        ports@FreeBSD.org, obrien@FreeBSD.org
Subject:   Re: FreeBSD Port: tcplist-2.2
Message-ID:  <20020212152525.A490@k7.mavetju.org>
In-Reply-To: <3C688CCC.E84A57B6@blackroses.com>; from digital@blackroses.com on Mon, Feb 11, 2002 at 10:32:28PM -0500
References:  <3C688CCC.E84A57B6@blackroses.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Mon, Feb 11, 2002 at 10:32:28PM -0500, digital wrote:
> I have found that tcplist -n gives the IP address incorrectly ...
> 
> 
> root@belligerent: tcplist
> root@localhost:ssh  ?@broken.blackroses.com:2059
> 
> root@belligerent: tcplist -n
> root@localhost:ssh  ?@36.236.67.64:2059
> 
> root@belligerent: nslookup broken.blackroses.com
> Server:  ns1.blackroses.com
> Address:  64.67.236.4
> 
> Name:    broken.blackroses.com
> Address:  64.67.236.36

If you add this attachment to your files directory and remake it 
it will work.

I will submit a pr for it.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch-utils.c"

--- utils.c.old	Tue Feb 12 15:21:57 2002
+++ utils.c	Tue Feb 12 15:21:24 2002
@@ -259,6 +259,7 @@
 				lastfail++;
 			}
 		}
+		iaddr=ntohl(iaddr);
 		sprintf(iaddrbuff, "%u.%u.%u.%u", (iaddr>>24)&0xff,
 		(iaddr>>16)&0xff, (iaddr>>8)&0xff,
 		iaddr&0xff);

--vtzGhvizbBRQ85DL--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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