correct a wrong comment

This commit is contained in:
loggerhead 2016-10-10 22:23:28 +08:00
parent 50427c6075
commit e22ca7d1a4

View file

@ -358,7 +358,7 @@ class TCPRelayHandler(object):
b'\x00\x00\x00\x00\x10\x10'),
self._local_sock)
# spec https://shadowsocks.org/en/spec/one-time-auth.html
# ATYP & 0x10 == 1, then OTA is enabled.
# ATYP & 0x10 == 0x10, then OTA is enabled.
if self._ota_enable_session:
data = common.chr(addrtype | ADDRTYPE_AUTH) + data[1:]
key = self._encryptor.cipher_iv + self._encryptor.key