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 <serg@bcs.zp.ua>
This commit is contained in:
Poul-Henning Kamp 1998-07-31 09:03:15 +00:00
parent b3816f9e60
commit 948cb33b78

View File

@ -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,