Skip to content

Commit

Permalink
fix port hopping
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock committed Dec 30, 2024
1 parent 9eb0a3c commit 6cab1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/hysteria2.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def parse(data):
}
}
if ports_match:
node['server_ports'] = [ports_match.group(1)]
node['server_ports'] = [ports_match.group(1).replace('-', ':')]
if netquery.get('insecure') in ['1', 'true'] or netquery.get('allowInsecure') == '1':
node['tls']['insecure'] = True
if node['tls']['server_name'] == '':
Expand Down

0 comments on commit 6cab1d9

Please sign in to comment.