1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2026-01-27 04:16:22 +00:00

Fix tftp xlte bug when writing text files. Bunp version

This commit is contained in:
David Schmenk
2018-04-29 07:25:43 -07:00
parent 5f1656b6a1
commit 15e4013f97
5 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@@ -229,7 +229,7 @@ def writeUDP(ipsrc, portsrc, data, len, param)
fin
len = len - t_datPkt
if netscii
xlat($0A, $0D, buff+datBytes, len)
xlat($0A, $0D, data+datBytes, len)
fin
if fileio:write(ref, data+datBytes, len) <> len
puts("WRQ: File write error\n")
@@ -339,7 +339,7 @@ end
if !iNet:initIP()
return -1
fin
puts("TFTP Server Version 0.1\n")
puts("TFTP Server Version 0.2\n")
portTFTP = iNet:openUDP(TFTP_PORT, @servUDP, 0)
//
// Alloc aligned file/io buffers

View File

@@ -40,7 +40,7 @@ predef sext(a)#1, divmod(a,b)#2, execmod(modfile)#1
//
// Exported CMDSYS table
//
word version = $0110 // 01.10
word version = $0111 // 01.11
word syspath
word syscmdln
word = @execmod

View File

@@ -37,7 +37,7 @@ predef execmod(modfile)#1
//
// Exported CMDSYS table
//
word version = $0110 // 01.10
word version = $0111 // 01.11
word syspath
word syscmdln
word = @execmod

View File

@@ -29,7 +29,7 @@ predef execmod(modfile)#1
//
// Exported CMDSYS table
//
word version = $0110 // 01.10
word version = $0111 // 01.11
word syspath
word cmdlnptr
word = @execmod