summaryrefslogtreecommitdiff
path: root/lib/routing_nb.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2024-11-25 22:47:21 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2024-11-26 11:01:57 +0100
commitc5d7815cccb92c192ca6b752843b8b827a607b53 (patch)
treed7e742e5358a3cecc0a17f81373eabc8182e9309 /lib/routing_nb.c
parent0bacbc6493ae0fb9b946e2df475367ea4541a5c8 (diff)
bgpd: fix version attribute is an int, not a string
The json display of the version attribute is originally an integer. It has changed, most probably mistakenly. > { > "vrfId": 7, > "vrfName": "vrf1", > "tableVersion": 3, > "routerId": "192.0.2.1", > "defaultLocPrf": 100, > "localAS": 65500, > "routes": { > "172.31.0.1/32": { > "prefix": "172.31.0.1/32", > "version": "1", <--- int or string ?? Let us fix it, by using the integer display instead. Fixes: f9f2d188e398 ("bgpd: fix 'json detail' output structure") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/routing_nb.c')
0 files changed, 0 insertions, 0 deletions