Skip to content

Commit

Permalink
fix vmess alter_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Toperlock committed Jan 31, 2024
1 parent a193444 commit d6e0e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/vmess.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def parse(data):
'server_port': int(item.get('port')),
'uuid': item.get('id'),
'security': item.get('scy') if item.get('scy') not in ['http', None] else 'auto',
'alter_id': int(item["aid"] if item["aid"] else '0'),
'alter_id': int(item["aid"] if item.get("aid") else '0'),
'packet_encoding': 'xudp'
}
if node['security'] == 'gun':
Expand Down

0 comments on commit d6e0e92

Please sign in to comment.