summaryrefslogtreecommitdiff
path: root/lib/northbound_cli.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2020-09-20 08:13:53 -0700
committerChirag Shah <chirag@nvidia.com>2020-10-03 11:25:38 -0700
commit5e42cb2fb088a28202e60ec57a4116f3d1f0afd5 (patch)
treece484fe4464613a1b6c9c02fc5da0544e2ab7bbc /lib/northbound_cli.c
parent87ce25646be36bb9a27e75d177615e3d19a07df0 (diff)
bgpd: move router bgp nb callback
move `router bgp` nb callback at `bgp` node level to have access to bgp context at neighbor and peer-group level and align create/destroy callbacks call during no router bgp. Earlier `no router bgp` is performed first global destroy callback is called which essentially removes `bgp context` then it calls to remove (parallel nodes) neighbor and peer-group which does not have access to bgp context. Moving router bgp at bgp solves this destroy callback ordering issue. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions