From owner-freebsd-ports Mon Feb 11 20:53:54 2002 Delivered-To: freebsd-ports@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 9BED837B8C8; Mon, 11 Feb 2002 20:49:27 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 09C4A2B79B; Tue, 12 Feb 2002 05:25:33 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 04C3156B; Tue, 12 Feb 2002 15:25:26 +1100 (EST) Date: Tue, 12 Feb 2002 15:25:25 +1100 From: Edwin Groothuis To: digital Cc: ports@FreeBSD.org, obrien@FreeBSD.org Subject: Re: FreeBSD Port: tcplist-2.2 Message-ID: <20020212152525.A490@k7.mavetju.org> References: <3C688CCC.E84A57B6@blackroses.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3C688CCC.E84A57B6@blackroses.com>; from digital@blackroses.com on Mon, Feb 11, 2002 at 10:32:28PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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