summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2023-11-23 17:45:07 -0500
committerGitHub <noreply@github.com>2023-11-23 17:45:07 -0500
commit25f1b66fde6bee4051d57bf54202f83388ae4b57 (patch)
treebe471f8e0ab35f0e6cc86a7d43810745daeb9865 /zebra/zapi_msg.c
parent27be058232ad530e2446cb8a12de0a7d04d0a758 (diff)
parent6e7465c54e6be65ec88f88b4493fd073698cb39d (diff)
Merge pull request #14863 from opensourcerouting/if-connected-dlist
*: convert struct interface->connected to DLIST
Diffstat (limited to 'zebra/zapi_msg.c')
-rw-r--r--zebra/zapi_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zapi_msg.c b/zebra/zapi_msg.c
index 390ebc8f4c..8a09fb0737 100644
--- a/zebra/zapi_msg.c
+++ b/zebra/zapi_msg.c
@@ -415,7 +415,7 @@ int zsend_interface_addresses(struct zserv *client, struct interface *ifp)
struct nbr_connected *nc;
/* Send interface addresses. */
- for (ALL_LIST_ELEMENTS(ifp->connected, cnode, cnnode, c)) {
+ frr_each (if_connected, ifp->connected, c) {
if (!CHECK_FLAG(c->conf, ZEBRA_IFC_REAL))
continue;