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/pimd.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/pimd.c')
| -rw-r--r-- | pimd/pimd.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c index 1791c1376e..b993bcdc03 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -51,8 +51,6 @@ DEFINE_MTYPE_STATIC(PIMD, ROUTER, "PIM Router information");  struct pim_router *router = NULL; -struct pim_instance *pimg = NULL; -  void pim_prefix_list_update(struct prefix_list *plist)  {  	struct pim_instance *pim; @@ -102,6 +100,7 @@ void pim_router_init(void)  	router->register_suppress_time = PIM_REGISTER_SUPPRESSION_TIME_DEFAULT;  	router->packet_process = PIM_DEFAULT_PACKET_PROCESS;  	router->register_probe_time = PIM_REGISTER_PROBE_TIME_DEFAULT; +	router->vrf_id = VRF_DEFAULT;  }  void pim_router_terminate(void)  | 
