Skip to content

Commit 403dc81

Browse files
author
esdeathlove
committed
refine error ip log
1 parent be5f422 commit 403dc81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shadowsocks/tcprelay.py

+1
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,7 @@ def _handle_stage_addr(self, ogn_data, data):
784784
else:
785785
data = pre_parse_header(data)
786786
if data is None:
787+
is_error = True
787788
data = self._handel_protocol_error(
788789
self._client_address, ogn_data)
789790
header_result = parse_header(data)

0 commit comments

Comments
 (0)