Date: Thu, 4 Jun 1998 13:32:02 +0300 (EEST) From: Sergey Shkonda <serg@bcs.zp.ua> To: phk@FreeBSD.ORG, tegge@FreeBSD.ORG Cc: hackers@FreeBSD.ORG Subject: netboot bug Message-ID: <199806041032.NAA07952@bcs3.bcs.zaporizhzhe.ua>
next in thread | raw e-mail | index | archive | help
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 Shkonda (serg@bcs.zaporizhzhe.ua) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806041032.NAA07952>