Merge pull request #12881 from donaldsharp/bgp_rpki_take_two

This commit is contained in:
Martin Winter 2023-02-24 05:09:59 -08:00 committed by GitHub
commit 3d3c67d681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,7 @@ static void print_record(const struct pfx_record *record, struct vty *vty,
if (!json) {
vty_out(vty, "%-40s %3u - %3u ", ip, record->min_len,
record->max_len);
vty_out(vty, ASN_FORMAT(asnotation), &record->asn);
vty_out(vty, ASN_FORMAT(asnotation), (as_t *)&record->asn);
vty_out(vty, "\n");
} else {
json_record = json_object_new_object();