summaryrefslogtreecommitdiffstats
path: root/pimd/pimd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-21 14:57:22 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 18:23:39 +0100
commit75373ccac47418369d5b64c8514d948f1aaaf3fa (patch)
tree25b05337221ae5630e24ba9580bf037a21ac2b07 /pimd/pimd.c
parentpimd: Move register_suppress_time into struct pim router (diff)
downloadfrr-75373ccac47418369d5b64c8514d948f1aaaf3fa.tar.xz
frr-75373ccac47418369d5b64c8514d948f1aaaf3fa.zip
pimd: Move packet_process variable to pim_router
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r--pimd/pimd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index ee198776a..8b21923b1 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -51,7 +51,6 @@ DEFINE_MTYPE_STATIC(PIMD, ROUTER, "PIM Router information");
struct pim_router *router = NULL;
-int qpim_packet_process = PIM_DEFAULT_PACKET_PROCESS;
struct pim_instance *pimg = NULL;
int32_t qpim_register_probe_time = PIM_REGISTER_PROBE_TIME_DEFAULT;
@@ -103,6 +102,7 @@ void pim_router_init(void)
router->infinite_assert_metric.ip_address.s_addr = INADDR_ANY;
router->rpf_cache_refresh_delay_msec = 50;
router->register_suppress_time = PIM_REGISTER_SUPPRESSION_TIME_DEFAULT;
+ router->packet_process = PIM_DEFAULT_PACKET_PROCESS;
}
void pim_router_terminate(void)