summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-05-10 15:31:04 +0200
committerDavid Lamparter <equinox@diac24.net>2019-07-03 16:56:22 +0200
commit2b9bcf306d2ae15d4f38bc3dd9281e321018ec6a (patch)
treee4f60684058495c38f7055b7a2a07fcb75062a4e /lib/command.c
parent2ed9fe4a2b5e5d3fdf01d81f865afc72f05621cc (diff)
bgpd: add instance delete & config write hooks
Both of these hooks are necessary for proper operation of extensions that need to latch on to a particular instance. - without the delete hook, it's impossible to get rid of stale references, leading to crashes with invalid instance pointers. - the config-write hook is necessary because per-instance config needs to be written inside the "router bgp" block to have the appropriate context; adding a separate config node can't do that. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions