Page MenuHomeFreeBSD

D33697.id100749.diff
No OneTemporary

D33697.id100749.diff

Index: stand/libsa/tftp.c
===================================================================
--- stand/libsa/tftp.c
+++ stand/libsa/tftp.c
@@ -680,6 +680,13 @@
start = getsecs();
printf("Preloading %s ", tftpfile->path);
#endif
+ if (tftpfile->currblock == 1)
+ bcopy(tftpfile->tftp_hdr->th_data,
+ cache,
+ tftpfile->validsize);
+ else
+ tftpfile->currblock = 0;
+
while (tftpfile->islastblock == 0) {
twiddle(32);
rc = tftp_getnextblock(tftpfile);

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 1:39 PM (22 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14762296
Default Alt Text
D33697.id100749.diff (476 B)

Event Timeline