summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2023-02-24 05:09:59 -0800
committerGitHub <noreply@github.com>2023-02-24 05:09:59 -0800
commit3d3c67d6819a77ffa6345a65a9fc3ab3497fe96b (patch)
tree9acee0ffe5fc9d34cb6835c9ab7ce220b0adc3b9
parent7cedcf270e01097ed2d675e12f9be0dfd4f7d69b (diff)
parentc38906919583a58eddb0bc3d1e70ea4ef0303bba (diff)
Merge pull request #12881 from donaldsharp/bgp_rpki_take_two
-rw-r--r--bgpd/bgp_rpki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c
index 6ab9c2873d..32ca909fe6 100644
--- a/bgpd/bgp_rpki.c
+++ b/bgpd/bgp_rpki.c
@@ -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();