Bug 7442 - TFTP_ACK goes to port 69
Summary: TFTP_ACK goes to port 69
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: i386 (show other bugs)
Version: 2.2.7-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-07-30 08:10 UTC by Sergey Shkonda
Modified: 1998-07-31 10:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Shkonda 1998-07-30 08:10:00 UTC

How-To-Repeat: 
	

Fix: 
	
	<How to correct or work around the problem, if known (multiple lines)>

--- main.c.orig	Tue Mar 31 11:09:50 1998
+++ main.c	Tue Mar 31 11:13:27 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,
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 1998-07-31 10:03:23 UTC
State Changed
From-To: open->closed

committed, thanks!