diff options
Diffstat (limited to 'zebra/zebra_mlag.c')
| -rw-r--r-- | zebra/zebra_mlag.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/zebra_mlag.c b/zebra/zebra_mlag.c index 8fd373cb19..f1fc046737 100644 --- a/zebra/zebra_mlag.c +++ b/zebra/zebra_mlag.c @@ -296,7 +296,6 @@ static void zebra_mlag_post_data_from_main_thread(struct event *thread) { struct stream *s = EVENT_ARG(thread); struct stream *zebra_s = NULL; - struct listnode *node; struct zserv *client; uint32_t msg_type = 0; uint32_t msg_len = 0; @@ -311,7 +310,7 @@ static void zebra_mlag_post_data_from_main_thread(struct event *thread) __func__, msg_type); msg_len = s->endp - ZEBRA_MLAG_METADATA_LEN; - for (ALL_LIST_ELEMENTS_RO(zrouter.client_list, node, client)) { + frr_each (zserv_client_list, &zrouter.client_list, client) { if (client->mlag_updates_interested == true) { if (msg_type != ZEBRA_MLAG_MSG_BCAST && !CHECK_FLAG(client->mlag_reg_mask1, |
