[BusyBox 0001202]: tftp not work
bugs at busybox.net
bugs at busybox.net
Wed Feb 7 05:09:36 UTC 2007
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=1202
======================================================================
Reported By: regunkov
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1202
Category: Documentation
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 02-06-2007 21:09 PST
Last Modified: 02-06-2007 21:09 PST
======================================================================
Summary: tftp not work
Description:
http://busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/networking/tftp.c?rev=17749&r1=16980&r2=17749&diff_format=h
See Line 294 Line 273
#if ENABLE_FEATURE_IPV6
if (from->sa_family == AF_INET6)
if (((struct sockaddr_in6*)from)->sin6_port != port)
goto recv_again;
#endif
if (from->sa_family == AF_INET)
if (((struct sockaddr_in*)from)->sin_port != port)
goto recv_again;
timeout = 0;
It is not equivalent
if (sa.sin_port == port) {
sa.sin_port = from.sin_port;
}
if (sa.sin_port == from.sin_port) {
break;
}
In exampe. 1474 != 69
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
02-06-07 21:09 regunkov New Issue
02-06-07 21:09 regunkov Status new => assigned
02-06-07 21:09 regunkov Assigned To => BusyBox
======================================================================
More information about the busybox-cvs
mailing list