Fix wrong display of websocket interface. Resolves #2214.
This commit is contained in:
parent
ef13565b76
commit
480ba6e20b
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ if WEBSERVER_ENABLED:
|
||||||
w_interface = WEBSOCKET_CLIENT_INTERFACE
|
w_interface = WEBSOCKET_CLIENT_INTERFACE
|
||||||
w_ifacestr = ""
|
w_ifacestr = ""
|
||||||
if w_interface not in ("0.0.0.0", "::") or len(WEBSERVER_INTERFACES) > 1:
|
if w_interface not in ("0.0.0.0", "::") or len(WEBSERVER_INTERFACES) > 1:
|
||||||
w_ifacestr = "-%s" % interface
|
w_ifacestr = "-%s" % w_interface
|
||||||
port = WEBSOCKET_CLIENT_PORT
|
port = WEBSOCKET_CLIENT_PORT
|
||||||
|
|
||||||
class Websocket(WebSocketServerFactory):
|
class Websocket(WebSocketServerFactory):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue