Fix display error when telnet disabled

This commit is contained in:
Griatch 2018-07-21 22:43:36 +02:00
parent 63cae2b187
commit 20d1ab0f3d

View file

@ -343,7 +343,7 @@ if WEBSERVER_ENABLED:
proxy_service = internet.TCPServer(proxyport,
web_root,
interface=interface)
proxy_service.setName('EvenniaWebProxy%s' % pstring)
proxy_service.setName('EvenniaWebProxy%s:%s' % (ifacestr, proxyport))
PORTAL.services.addService(proxy_service)
INFO_DICT["webserver_proxy"].append("webserver-proxy%s: %s" % (ifacestr, proxyport))
INFO_DICT["webserver_internal"].append("webserver: %s" % serverport)