diff options
Diffstat (limited to 'etc/tftp.lua')
-rw-r--r-- | etc/tftp.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/tftp.lua b/etc/tftp.lua index 83a08b9..a8158e2 100644 --- a/etc/tftp.lua +++ b/etc/tftp.lua | |||
@@ -15,7 +15,7 @@ local string = require("string") | |||
15 | local socket = require("socket") | 15 | local socket = require("socket") |
16 | local ltn12 = require("ltn12") | 16 | local ltn12 = require("ltn12") |
17 | local url = require("socket.url") | 17 | local url = require("socket.url") |
18 | local tftp = module("socket.tftp") | 18 | module("socket.tftp") |
19 | 19 | ||
20 | ----------------------------------------------------------------------------- | 20 | ----------------------------------------------------------------------------- |
21 | -- Program constants | 21 | -- Program constants |
@@ -153,4 +153,4 @@ get = socket.protect(function(gett) | |||
153 | else return tget(gett) end | 153 | else return tget(gett) end |
154 | end) | 154 | end) |
155 | 155 | ||
156 | base.setmetatable(tftp, nil) | 156 | base.getmetatable(_M).__index = nil |