From owner-freebsd-bugs Tue Mar 9 2: 0:17 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8D42A14D5F for ; Tue, 9 Mar 1999 02:00:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id CAA14796; Tue, 9 Mar 1999 02:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 9 Mar 1999 02:00:01 -0800 (PST) Message-Id: <199903091000.CAA14796@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brian Somers Subject: Re: bin/7669: libalias does not IRC DCC packets under certain conditions Reply-To: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/7669; it has been noted by GNATS. From: Brian Somers To: joelh@gnu.org, Eivind Eklund Cc: FreeBSD-gnats-submit@FreeBSD.ORG, Brian Somers Subject: Re: bin/7669: libalias does not IRC DCC packets under certain conditions Date: Tue, 09 Mar 1999 09:36:07 +0000 This is a multipart MIME message. --==_Exmh_-6848283430 Content-Type: text/plain; charset=us-ascii Hi, Any chance of you two reviewing this change to close 7669 ? If it doesn't work in all situations I'll add an option - but then again, it may not work at all :-) TIA. -- Brian Don't _EVER_ lose your sense of humour ! --==_Exmh_-6848283430 Content-Type: application/x-patch ; name="7669-alias.patch" Content-Description: 7669-alias.patch Content-Disposition: attachment; filename="7669-alias.patch" Index: alias_irc.c =================================================================== RCS file: /home/ncvs/src/lib/libalias/alias_irc.c,v retrieving revision 1.4 diff -u -r1.4 alias_irc.c --- alias_irc.c 1998/06/06 21:52:36 1.4 +++ alias_irc.c 1999/03/09 09:24:09 @@ -208,7 +208,8 @@ true_port = htons(org_port); - true_addr.s_addr = htonl(org_addr); + /* Use our source IP number, *NOT* the ``org_addr'' that we found in the packet */ + true_addr = pip->ip_src; destaddr.s_addr = 0; /* Steal the FTP_DATA_PORT - it doesn't really matter, and this --==_Exmh_-6848283430-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message