diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2025-03-16 16:56:19 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2025-03-19 13:27:36 -0400 |
| commit | 24d293277f9e34c57605c7e62aa9658abf617063 (patch) | |
| tree | 2341ee8056a1f058dd13f670c9665b81c4e936fc /zebra/zebra_srv6_vty.c | |
| parent | 5602e5fe2801f70c5363729e4d248e8705eaca0c (diff) | |
zebra: Convert the zrouter.client_list to a typesafe list
This list should just be a typesafe list.
Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
Diffstat (limited to 'zebra/zebra_srv6_vty.c')
| -rw-r--r-- | zebra/zebra_srv6_vty.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/zebra/zebra_srv6_vty.c b/zebra/zebra_srv6_vty.c index 6867b1bbb6..22ba9386d9 100644 --- a/zebra/zebra_srv6_vty.c +++ b/zebra/zebra_srv6_vty.c @@ -484,14 +484,10 @@ DEFPY (locator_prefix, if (memcmp(&chunk->prefix.prefix, zero, 16) == 0) { struct zserv *client; - struct listnode *client_node; chunk->prefix = *prefix; - for (ALL_LIST_ELEMENTS_RO(zrouter.client_list, - client_node, - client)) { + frr_each (zserv_client_list, &zrouter.client_list, client) { struct srv6_locator *tmp; - if (client->proto != chunk->proto) continue; |
