mod_portcheck: Don't rewrite '*' to '0.0.0.0' since Prosody doesn't
They mean the same, but it's LuaSocket that deals with that, not Prosody
--- a/mod_portcheck/mod_portcheck.lua Sun Feb 20 11:49:06 2022 +0100
+++ b/mod_portcheck/mod_portcheck.lua Tue Feb 22 14:00:01 2022 +0100
@@ -5,9 +5,6 @@
function commands.portcheck(session, line)
for desc, interface, port in line:gmatch("%s(%[?([%x:.*]+)%]?:(%d+))") do
- if interface == "*" then
- interface = "0.0.0.0";
- end
assert(portmanager.get_service_at(interface, tonumber(port)), desc);
end
session.print "OK";