diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-21 09:23:36 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-04 12:23:39 -0500 |
| commit | 4dfe9ad26e3bac45674d36d1c79fb66759eb0060 (patch) | |
| tree | e3a3cbdfcf0e8c85930f65aed9cdfbb943422262 /pimd/pim_instance.c | |
| parent | 84f259891486ec5b36c2b6475a41dcd7cd87f6f4 (diff) | |
pimd: Remove pimg
The pimg data structure is only used in one spot to send the default
vrf id to zebra upon startup. Add the default vrf id to the struct pim_router
data structure and remove the pimg pointer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.c')
| -rw-r--r-- | pimd/pim_instance.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index e817bfa551..092a2d76fa 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -101,9 +101,6 @@ static struct pim_instance *pim_instance_init(struct vrf *vrf) pim->send_v6_secondary = 1; - if (vrf->vrf_id == VRF_DEFAULT) - pimg = pim; - pim_rp_init(pim); pim_oil_init(pim); @@ -132,9 +129,6 @@ static int pim_vrf_new(struct vrf *vrf) vrf->info = (void *)pim; - if (vrf->vrf_id == VRF_DEFAULT) - pimg = pim; - pim_ssmpingd_init(pim); return 0; } |
