From 5ad484f093a9257b082c7642db78fc338c9e8a9d Mon Sep 17 00:00:00 2001 From: Balthild Ires Date: Sat, 22 Apr 2017 20:37:25 +0800 Subject: [PATCH] localhost should be direct accessed too --- console/novncd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/novncd b/console/novncd index cff4376..54bf836 100755 --- a/console/novncd +++ b/console/novncd @@ -154,7 +154,7 @@ class CompatibilityMixIn(object): self.msg('Try to open local socket %s' % console_socket) tsock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) tsock.connect(console_socket) - elif console_socket or re.match('^127\.', console_host): + elif console_socket: # Need tunnel to physical host if conntype != CONN_SSH: self.msg("Need a tunnel to access console but can't mount " +