mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-28 05:32:51 +01:00
TS6Protocol: change servername to numeric in handle_pass
Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
parent
26bdc90781
commit
03c9c71dc3
@ -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?")
|
||||
|
Loading…
Reference in New Issue
Block a user