Skip to content

Commit

Permalink
Merge pull request FRRouting#17513 from FRRouting/mergify/bp/stable/1…
Browse files Browse the repository at this point in the history
…0.0/pr-17506

bgpd: fix version attribute is an int, not a string (backport FRRouting#17506)
  • Loading branch information
riw777 authored Nov 26, 2024
2 parents 0268aef + cd238c7 commit 61bcff8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -11878,8 +11878,7 @@ void route_vty_out_detail_header(struct vty *vty, struct bgp *bgp,
} else {
if (incremental_print) {
vty_out(vty, "\"prefix\": \"%pFX\",\n", p);
vty_out(vty, "\"version\": \"%" PRIu64 "\",",
dest->version);
vty_out(vty, "\"version\": %" PRIu64 ",", dest->version);
} else {
json_object_string_addf(json, "prefix", "%pFX",
p);
Expand Down

0 comments on commit 61bcff8

Please sign in to comment.