diff options
author | Kim Alvefur <zash@zash.se> | 2013-07-01 22:17:31 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-07-01 22:17:31 +0200 |
commit | 14cde80a1f8570920e598509710f2dc61b7a2510 (patch) | |
tree | 624e34de0695449107b5f2fb9e5f7388a8f50958 /prosodyctl | |
parent | bd7d1c77a4ece6b37a678b5c7e0d6bcaa3498718 (diff) | |
download | prosody-14cde80a1f8570920e598509710f2dc61b7a2510.tar.gz prosody-14cde80a1f8570920e598509710f2dc61b7a2510.zip |
prosodyctl: Import local_addresses from the new util.net intead of luasocket
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -870,7 +870,7 @@ function commands.check(arg) end end - local local_addresses = socket.local_addresses and socket.local_addresses() or {}; + local local_addresses = require"util.net".local_addresses() or {}; for addr in it.values(local_addresses) do if not ip.new_ip(addr).private then |