]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix large route-distinguisher's format
authorHiroki Shirokura <slank.dev@gmail.com>
Sun, 5 Jan 2020 13:56:14 +0000 (22:56 +0900)
committerHiroki Shirokura <hiroki.shirokura@linecorp.com>
Tue, 7 Jan 2020 07:13:35 +0000 (16:13 +0900)
commit4c22b3f0f371307407a98e6548bf26d2aff984b6
tree40ddf7692164c82acdb1dcd3b3985e24ff07641a
parentcda149a6e0915c35fba8a6f07110cbc57bd7e1c3
bgpd: fix large route-distinguisher's format

This commit is about #5629 's issue.
Before this commit, bgpd creates format string of
bgp-route-distinguisher as int32, but correctly format
is uint32. current bgpd's sh-run-cli generate int32 rd,
so if user sets the rd as 1:4294967295(0x1:0xffffffff),
sh-run cli generates 1: -1 as running-config. This
commit fix that issue.

Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
bgpd/bgp_rd.c