diff --git a/shadowsocks/common.py b/shadowsocks/common.py index 1977dcd..fc03d55 100644 --- a/shadowsocks/common.py +++ b/shadowsocks/common.py @@ -171,8 +171,8 @@ def parse_header(data): else: logging.warn('header is too short') else: - logging.warn('unsupported addrtype %d, maybe wrong password' % - addrtype) + logging.warn('unsupported addrtype %d, maybe wrong password or ' + 'encryption method' % addrtype) if dest_addr is None: return None return addrtype, to_bytes(dest_addr), dest_port, header_length