mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 03:33:43 +00:00
Merge pull request #17513 from FRRouting/mergify/bp/stable/10.0/pr-17506
bgpd: fix version attribute is an int, not a string (backport #17506)
This commit is contained in:
commit
61bcff83b6
@ -11878,8 +11878,7 @@ void route_vty_out_detail_header(struct vty *vty, struct bgp *bgp,
|
|||||||
} else {
|
} else {
|
||||||
if (incremental_print) {
|
if (incremental_print) {
|
||||||
vty_out(vty, "\"prefix\": \"%pFX\",\n", p);
|
vty_out(vty, "\"prefix\": \"%pFX\",\n", p);
|
||||||
vty_out(vty, "\"version\": \"%" PRIu64 "\",",
|
vty_out(vty, "\"version\": %" PRIu64 ",", dest->version);
|
||||||
dest->version);
|
|
||||||
} else {
|
} else {
|
||||||
json_object_string_addf(json, "prefix", "%pFX",
|
json_object_string_addf(json, "prefix", "%pFX",
|
||||||
p);
|
p);
|
||||||
|
Loading…
Reference in New Issue
Block a user