diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-19 01:56:10 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 19:51:35 +0200 |
commit | 4e0bc0f0a8cc235c45db9a2939ff985cf9c75e44 (patch) | |
tree | 51b78d232c078b11a15e7d93ef96d78ca5338ad5 /pimd/pimd.c | |
parent | pimd: Fix c_oil->pim set spot (diff) | |
download | frr-4e0bc0f0a8cc235c45db9a2939ff985cf9c75e44.tar.xz frr-4e0bc0f0a8cc235c45db9a2939ff985cf9c75e44.zip |
pimd: Refactore qpim_static_route_list into pim->static_routes
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.c')
-rw-r--r-- | pimd/pimd.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c index 164dafe5f..64a16b098 100644 --- a/pimd/pimd.c +++ b/pimd/pimd.c @@ -60,7 +60,6 @@ struct list *qpim_ssmpingd_list = NULL; struct in_addr qpim_ssmpingd_group_addr; int64_t qpim_scan_oil_events = 0; int64_t qpim_scan_oil_last = 0; -struct list *qpim_static_route_list = NULL; unsigned int qpim_keep_alive_time = PIM_KEEPALIVE_PERIOD; signed int qpim_rp_keep_alive_time = 0; int64_t qpim_nexthop_lookups = 0; @@ -87,9 +86,6 @@ static void pim_free() pim_upstream_terminate(); - if (qpim_static_route_list) - list_free(qpim_static_route_list); - pim_if_terminate(); pim_rp_free(); @@ -119,14 +115,6 @@ void pim_init() pim_upstream_init(); - qpim_static_route_list = list_new(); - if (!qpim_static_route_list) { - zlog_err("%s %s: failure: static_route_list=list_new()", - __FILE__, __PRETTY_FUNCTION__); - return; - } - qpim_static_route_list->del = (void (*)(void *))pim_static_route_free; - /* RFC 4601: 4.6.3. Assert Metrics |