From 03c9c71dc311b4188ac3b43e94d914ace5297df4 Mon Sep 17 00:00:00 2001 From: Celelibi Date: Fri, 19 Jun 2020 01:55:13 +0200 Subject: [PATCH] TS6Protocol: change servername to numeric in handle_pass Signed-off-by: Celelibi --- protocols/ts6.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/ts6.py b/protocols/ts6.py index 3fa5235..b5e51d1 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -431,7 +431,7 @@ class TS6Protocol(TS6BaseProtocol): if args[0] != self.serverdata['recvpass']: # Check if recvpass is correct - raise ProtocolError('Recvpass from uplink server %s does not match configuration!' % servername) + raise ProtocolError('Recvpass from uplink server %r does not match configuration!' % numeric) if args[1] != 'TS' and args[2] != '6': raise ProtocolError("Remote protocol version is too old! Is this even TS6?")