[BusyBox-cvs] busybox/patches tftp_timeout_multicast.diff,NONE,1.1

Glenn McGrath bug1 at busybox.net
Fri Mar 5 15:52:59 UTC 2004


Update of /var/cvs/busybox/patches
In directory nail:/tmp/cvs-serv26823

Added Files:
	tftp_timeout_multicast.diff 
Log Message:
Patch from John Powers, adds multicast (rfc2090) and timeout (rfc2349) 
options


--- NEW FILE: tftp_timeout_multicast.diff ---
Index: AUTHORS
===================================================================
RCS file: /var/cvs/busybox/AUTHORS,v
retrieving revision 1.40
diff -u -r1.40 AUTHORS
--- a/AUTHORS	9 Oct 2003 21:19:21 -0000	1.40
+++ b/AUTHORS	5 Mar 2004 15:45:47 -0000
@@ -92,6 +92,9 @@
     Original author of BusyBox in 1995, 1996. Some of his code can 
     still be found hiding here and there...
 
+John Powers <jpp at ti.com>
+    Added multicast option (rfc2090) and timeout option (rfc2349) to tftp.
+
 Tim Riker <Tim at Rikers.org>
     bug fixes, member of fan club
 
Index: include/usage.h
===================================================================
[...1014 lines suppressed...]
 	if (!(fd == fileno(stdout) || fd == fileno(stdin))) {
@@ -582,3 +980,18 @@
 #endif
 	return(result);
 }
+
+
+#ifdef CONFIG_FEATURE_TFTP_DEBUG
+
+#include <sys/time.h>
+
+static void
+printtime(void)
+{
+	struct timeval tv;
+	gettimeofday(&tv, NULL);
+	printf("%11lu.%06lu ", tv.tv_sec, tv.tv_usec);
+}
+
+#endif




More information about the busybox-cvs mailing list