diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-11 13:38:19 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-31 09:20:46 -0500 | 
| commit | 161e9ab7e262f1495af3db1669518843ed1b7d73 (patch) | |
| tree | 510f5fbec078b6ab42cec85cbb5377d05329448d /zebra/zebra_ptm_redistribute.c | |
| parent | 3801e7646c73b4b0122ea02eb35e8d39c3796c95 (diff) | |
zebra: Move client_list to the zebra_router data structure
The client_list should be owned by the zebra_router data structure
as that it is part of global state information.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ptm_redistribute.c')
| -rw-r--r-- | zebra/zebra_ptm_redistribute.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_ptm_redistribute.c b/zebra/zebra_ptm_redistribute.c index 3acbe3bf2c..0c24c732a4 100644 --- a/zebra/zebra_ptm_redistribute.c +++ b/zebra/zebra_ptm_redistribute.c @@ -22,7 +22,7 @@  #include "prefix.h"  #include "vty.h"  #include "stream.h" -#include "zebra/zserv.h" +#include "zebra/zebra_router.h"  #include "zebra/zapi_msg.h"  #include "zebra/zebra_ptm.h"  #include "zebra/zebra_ptm_redistribute.h" @@ -76,7 +76,7 @@ void zebra_interface_bfd_update(struct interface *ifp, struct prefix *dp,  	struct listnode *node, *nnode;  	struct zserv *client; -	for (ALL_LIST_ELEMENTS(zebrad.client_list, node, nnode, client)) { +	for (ALL_LIST_ELEMENTS(zrouter.client_list, node, nnode, client)) {  		if (!IS_BFD_ENABLED_PROTOCOL(client->proto))  			continue; @@ -106,7 +106,7 @@ void zebra_bfd_peer_replay_req(void)  	struct listnode *node, *nnode;  	struct zserv *client; -	for (ALL_LIST_ELEMENTS(zebrad.client_list, node, nnode, client)) { +	for (ALL_LIST_ELEMENTS(zrouter.client_list, node, nnode, client)) {  		if (!IS_BFD_ENABLED_PROTOCOL(client->proto))  			continue;  | 
