From owner-freebsd-hackers Thu Jun 4 11:57:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA09015 for freebsd-hackers-outgoing; Thu, 4 Jun 1998 11:57:59 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08889; Thu, 4 Jun 1998 11:57:18 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id LAA17260; Thu, 4 Jun 1998 11:56:45 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017258; Thu Jun 4 11:56:20 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id LAA23340; Thu, 4 Jun 1998 11:56:20 -0700 (PDT) From: Archie Cobbs Message-Id: <199806041856.LAA23340@bubba.whistle.com> Subject: Re: netboot bug In-Reply-To: <199806041032.NAA07952@bcs3.bcs.zaporizhzhe.ua> from Sergey Shkonda at "Jun 4, 98 01:32:02 pm" To: serg@bcs.zp.ua (Sergey Shkonda) Date: Thu, 4 Jun 1998 11:56:20 -0700 (PDT) Cc: phk@FreeBSD.ORG, tegge@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sergey Shkonda writes: > There are ERROR in tftp implementation in netboot program: > TFTP_ACK must be sent to another port, not a default TFTP one. > > path: sys/i386/boot/netboot > > > --- main.c.orig Thu Jun 4 13:24:06 1998 > +++ main.c Thu Jun 4 13:23:52 1998 > @@ -464,6 +464,7 @@ > return(0); > } /* ACK PACKET */ > if (tr->opcode != ntohs(TFTP_DATA)) return(0); > + osocket = ntohs(tr->udp.src); > tp.opcode = htons(TFTP_ACK); > tp.u.ack.block = tr->u.data.block; > udp_transmit(arptable[ARP_SERVER].ipaddr, isocket, > Sergey- Please file a bug report including your patch using send-pr(1). That way your patch won't get lost. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message