From owner-freebsd-hackers Mon Dec 2 3: 1:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 254C837B401; Mon, 2 Dec 2002 03:01:42 -0800 (PST) Received: from inferno.darktide.net (inferno.darktide.net [203.31.37.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49E1143EA9; Mon, 2 Dec 2002 03:01:33 -0800 (PST) (envelope-from jrm@delta-e.com.au) Received: from inferno.darktide.net (jrm@localhost [127.0.0.1]) by inferno.darktide.net (8.12.6/8.12.6) with ESMTP id gB2B1N7l065943; Mon, 2 Dec 2002 21:01:23 +1000 (EST) (envelope-from jrm@delta-e.com.au) Received: from localhost (jrm@localhost) by inferno.darktide.net (8.12.6/8.12.6/Submit) with ESMTP id gB2B1MFY065940; Mon, 2 Dec 2002 22:01:22 +1100 (EST) X-Authentication-Warning: inferno.darktide.net: jrm owned process doing -bs Date: Mon, 2 Dec 2002 22:01:22 +1100 (EST) From: J R Matthews X-X-Sender: jrm@inferno.darktide.net To: freebsd-questions@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: /usr/bin/finger problems... Message-ID: <20021202215516.U65796-100000@inferno.darktide.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Whom it concerns, I just upgraded a myriad of my systems from 4.6R-p2 to 4.7 and lo-and-behold I could no longer use /usr/bin/finger to get a finger from remote Ascend NAS. Funnily enough, it still worked on remote Cisco and unix boxen. Still - i got shitty with it, and dug into the problem. In 4.6R there was no INET6 support - 4.7 onwards now has it and someone just very simply screwed up typing in the new code, as you'll plainly see. Old Code snippet from net.c iov[msg.msg_iovlen].iov_base = "\r\n"; New code snippet from net.c static char neteol[] = "\n\r"; . . . iov[msg.msg_iovlen].iov_base = neteol; Well, it's pretty obvious what the problem now isnt it? :) And, of course - changing it to the old behavior of "\r\n" does fix it and my problems are no more. I can submit a patch to fix this if you want or not.. I honestly dont give a damn to be honest ;) Regards, Jenna PLEASE NOTE: I'm not on the freebsd-questions list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message