Skip to content

Commit

Permalink
fix large communities
Browse files Browse the repository at this point in the history
  • Loading branch information
Teun Vink committed Jul 16, 2024
1 parent 005e97b commit 38ee7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,4 +291,4 @@ def _print_match(self, community, candidate, fieldvals):
output_fields.append(f'{field["name"]}={fieldvals[offset + fid]}')
output_sections.append(",".join(output_fields))

return f"{asn}:{'':'.join(output_sections)}"
return f"{asn}:{':'.join(output_sections)}"

0 comments on commit 38ee7a4

Please sign in to comment.