# HG changeset patch # User Kim Alvefur # Date 1372709851 -7200 # Node ID 24b6eb65480cde0c60a249885ac576bbaf427e01 # Parent 43de2a3f723af4f559e2d5afa902841d1beb58e5 prosodyctl: Import local_addresses from the new util.net intead of luasocket diff -r 43de2a3f723a -r 24b6eb65480c prosodyctl --- a/prosodyctl Sat Jun 29 22:49:56 2013 +0200 +++ b/prosodyctl Mon Jul 01 22:17:31 2013 +0200 @@ -870,7 +870,7 @@ 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