From 948cb33b787b76bf75b20d02e94efd02509ae146 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 31 Jul 1998 09:03:15 +0000 Subject: [PATCH] TFTP_ACK goes to port 69 (default tftp port) and tftpd says 'Timeout'. It will be sent to source port of received packet. PR: 7442 Reviewed by: phk Submitted by: Sergey Shkonda --- sys/i386/boot/netboot/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/i386/boot/netboot/main.c b/sys/i386/boot/netboot/main.c index 086d71c7a5b..4ee5b9f1220 100644 --- a/sys/i386/boot/netboot/main.c +++ b/sys/i386/boot/netboot/main.c @@ -466,6 +466,7 @@ tftp(name) 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,