mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
b3816f9e60
commit
948cb33b78
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue