mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-12-25 01:59:25 +08:00
???
This commit is contained in:
parent
879a5619ce
commit
61e98c7e95
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ def make_rfc8416(roa4, roa6):
|
|||
|
||||
def make_roa_records(roa4, roa6):
|
||||
records = [
|
||||
"route {asn} max {prefix} as {maxLength};".format_map(roa)
|
||||
"route {prefix} max {maxLength} as {asn};".format_map(roa)
|
||||
for roa in (*roa4, *roa6)
|
||||
]
|
||||
return "\n".join(["# NeoNetwork ROA tool", "", *records])
|
||||
|
|
Loading…
Reference in a new issue