# HG changeset patch # User Pascal Mathis # Date 1521231470 -3600 # Node ID 7319fd5dbc8905793721db22188781de773e14d7 # Parent 5c60df8b1a07f53aeaa911e08e7b396762e89bc1 mod_net_proxy: Fixed luacheck warnings diff -r 5c60df8b1a07 -r 7319fd5dbc89 mod_net_proxy/mod_net_proxy.lua --- a/mod_net_proxy/mod_net_proxy.lua Fri Mar 16 20:35:14 2018 +0100 +++ b/mod_net_proxy/mod_net_proxy.lua Fri Mar 16 21:17:50 2018 +0100 @@ -23,7 +23,7 @@ -- Convert received bytes into IPv6 address and skip leading zeroes for each group for index = 1, 8 do - high, low = input:byte(index * 2 - 1, index * 2); + local high, low = input:byte(index * 2 - 1, index * 2); octets[index] = string.format("%x", high * 256 + low); end local address = table.concat(octets, ":", 1, 8);