Skip to content

Commit

Permalink
Ignore packets after close
Browse files Browse the repository at this point in the history
  • Loading branch information
renevdzee committed Jan 24, 2016
1 parent ddf6e69 commit 554da20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tftpd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ s:on("receive",function(c,r)
if(sz~=512)then
print(" done!")
file.close()
_tblk=0
end
collectgarbage()
else
Expand Down

0 comments on commit 554da20

Please sign in to comment.