Page MenuHomeFreeBSD

D33697.1789891107.diff
No OneTemporary

Size
440 B
Referenced Files
None
Subscribers
None

D33697.1789891107.diff

diff --git a/stand/libsa/tftp.c b/stand/libsa/tftp.c
--- a/stand/libsa/tftp.c
+++ b/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
Sun, Sep 20, 7:58 AM (5 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29811828
Default Alt Text
D33697.1789891107.diff (440 B)

Event Timeline