http://git.etherboot.org
/
people
/
andreif
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63f0e4e
)
TFTP default blocksize fix from Vampyre
author
Marty Connor
<mdc@etherboot.org>
Thu, 30 Aug 2007 17:51:38 +0000
(13:51 -0400)
committer
Marty Connor
<mdc@etherboot.org>
Thu, 30 Aug 2007 17:51:38 +0000
(13:51 -0400)
src/net/udp/tftp.c
patch
|
blob
|
history
diff --git
a/src/net/udp/tftp.c
b/src/net/udp/tftp.c
index
7f1c4ce
..
6c1c51b
100644
(file)
--- a/
src/net/udp/tftp.c
+++ b/
src/net/udp/tftp.c
@@
-647,6
+647,7
@@
int tftp_open ( struct xfer_interface *xfer, struct uri *uri ) {
xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
tftp->state = -1;
tftp->timer.expired = tftp_timer_expired;
+ tftp->blksize = TFTP_DEFAULT_BLKSIZE;
/* Open socket */
memset ( &server, 0, sizeof ( server ) );