Changeset

9856:4be2af104bf0 0.11

prosodyctl about: Report network backend in use
author Matthew Wild <mwild1@gmail.com>
date Thu, 14 Mar 2019 08:09:49 +0000
parents 9843:17060708d0eb
children 9857:3af3a702c54c 9879:ddc07fb8dcd4
files prosodyctl
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Mon Mar 04 12:58:20 2019 +0100
+++ b/prosodyctl	Thu Mar 14 08:09:49 2019 +0000
@@ -387,6 +387,10 @@
 	end
 	print("LuaRocks:        ", luarocks_status);
 	print("");
+	print("# Network");
+	print("");
+	print("Backend: "..require "net.server".get_backend());
+	print("");
 	print("# Lua module versions");
 	local module_versions, longest_name = {}, 8;
 	local luaevent =dependencies.softreq"luaevent";