From 717c9ba411ee82fd4c6c01db35d2b609ae049d58 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 1 Jul 2013 22:17:31 +0200 Subject: prosodyctl: Import local_addresses from the new util.net intead of luasocket --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosodyctl') diff --git a/prosodyctl b/prosodyctl index aa6f2073..b98736a7 100755 --- a/prosodyctl +++ b/prosodyctl @@ -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 -- cgit v1.2.3