From 29a646b7730187cc614733a39e6bae266debe515 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 12 Jan 2017 12:04:31 +0100 Subject: [PATCH] WIP: Add ToDos to some places that display listeners and should handle CUnixListener Signed-off-by: Uli Schlachter --- modules/webadmin.cpp | 1 + src/ClientCommand.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/webadmin.cpp b/modules/webadmin.cpp index 722c45a6..725309bf 100644 --- a/modules/webadmin.cpp +++ b/modules/webadmin.cpp @@ -1895,6 +1895,7 @@ class CWebAdminMod : public CModule { l["SuggestDeletion"] = CString(pTCPListener->GetPort() != WebSock.GetLocalPort()); } + // TODO: Handle CUnixListener l["IsHTTP"] = CString(pListener->GetAcceptType() != CListener::ACCEPT_IRC); diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index cdd8c9e0..f01f8e47 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -1558,6 +1558,7 @@ void CClient::UserPortCommand(CString& sLine) { ? "All" : (eAddr == ADDR_IPV4ONLY ? "IPv4" : "IPv6"))); } else { + // TODO: Handle CUnixListener Table.SetCell("Port", "unknown"); }