mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-24 19:59:34 +00:00
Merge pull request #17506 from pguibert6WIND/int_versus_string
bgpd: fix version attribute is an int, not a string
This commit is contained in:
commit
bd37658018
@ -12318,8 +12318,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);
|
||||
|
Loading…
Reference in New Issue
Block a user