diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-22 15:12:08 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 19:51:37 +0200 |
commit | 2ad78035cc824f747e64274020140dcd0b95e3fd (patch) | |
tree | fec2b9db86a4148e97cfd72d296febe633b073c7 /pimd/pim_instance.c | |
parent | pimd: Get the default pim code ready to write into vrf's or not (diff) | |
download | frr-2ad78035cc824f747e64274020140dcd0b95e3fd.tar.xz frr-2ad78035cc824f747e64274020140dcd0b95e3fd.zip |
pimd: Make pim MSDP pim instance aware to some extent
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.c')
-rw-r--r-- | pimd/pim_instance.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index 3d13ee7a5..6b10f14d9 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -56,6 +56,8 @@ static void pim_instance_terminate(struct pim_instance *pim) pim_if_terminate(pim); + pim_msdp_exit(pim); + XFREE(MTYPE_PIM_PIM_INSTANCE, pimg); } @@ -75,6 +77,8 @@ static struct pim_instance *pim_instance_init(struct vrf *vrf) pim->spt.switchover = PIM_SPT_IMMEDIATE; pim->spt.plist = NULL; + pim_msdp_init(master, pim); + pim->rpf_hash = hash_create_size(256, pim_rpf_hash_key, pim_rpf_equal, NULL); |