]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd: fix config of allowas_in; add to show output
authorMark Stapp <mstapp@nvidia.com>
Thu, 20 Oct 2022 20:47:12 +0000 (16:47 -0400)
committerMark Stapp <mstapp@nvidia.com>
Mon, 24 Oct 2022 16:50:17 +0000 (12:50 -0400)
commitb2ac1d0d4fdf3568381ddf0fe8b55e3c22537c5f
tree8d1970083123574a5148785d88f598d9bd6705f8
parent695f387ed872c1bc55ad4149ede95465b48697b9
bgpd: fix config of allowas_in; add to show output

Ensure that un-configuring allowas-in for a peer or group
clears the related flags and integer value. Tighten the use
of the integer counter so that it's only used when the config
flag is set. Add show output if allowas-in is enabled.

Signed-off-by: Mark Stapp <mstapp@nvidia.com>
bgpd/bgp_route.c
bgpd/bgp_vty.c