diff options
author | Maria Matejka <mq@ucw.cz> | 2022-01-24 10:01:10 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-02-03 10:30:33 +0100 |
commit | c651cef737c7c7578c26bd787c0abd3c364bf4b8 (patch) | |
tree | ea075e90ddd3efdd4451021a4921172ec979ce5d /proto | |
parent | b6c9263543060141d79e205e1b3408099ad1afc4 (diff) |
Global interface list renamed to not clash with local lists
Diffstat (limited to 'proto')
-rw-r--r-- | proto/babel/babel.c | 2 | ||||
-rw-r--r-- | proto/ospf/iface.c | 4 | ||||
-rw-r--r-- | proto/radv/radv.c | 2 | ||||
-rw-r--r-- | proto/rip/rip.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/proto/babel/babel.c b/proto/babel/babel.c index e56a6328..8d80d7cd 100644 --- a/proto/babel/babel.c +++ b/proto/babel/babel.c @@ -1907,7 +1907,7 @@ babel_reconfigure_ifaces(struct babel_proto *p, struct babel_config *cf) { struct iface *iface; - WALK_LIST(iface, iface_list) + WALK_LIST(iface, global_iface_list) { if (!(iface->flags & IF_UP)) continue; diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index 2aae341a..b8c40c9b 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -1225,7 +1225,7 @@ ospf_reconfigure_ifaces2(struct ospf_proto *p) struct iface *iface; struct ifa *a; - WALK_LIST(iface, iface_list) + WALK_LIST(iface, global_iface_list) { if (! (iface->flags & IF_UP)) continue; @@ -1271,7 +1271,7 @@ ospf_reconfigure_ifaces3(struct ospf_proto *p) struct iface *iface; struct ifa *a; - WALK_LIST(iface, iface_list) + WALK_LIST(iface, global_iface_list) { if (! (iface->flags & IF_UP)) continue; diff --git a/proto/radv/radv.c b/proto/radv/radv.c index b0f15514..63549c77 100644 --- a/proto/radv/radv.c +++ b/proto/radv/radv.c @@ -664,7 +664,7 @@ radv_reconfigure(struct proto *P, struct proto_config *CF) channel_request_feeding(p->p.main_channel); struct iface *iface; - WALK_LIST(iface, iface_list) + WALK_LIST(iface, global_iface_list) { if (!(iface->flags & IF_UP)) continue; diff --git a/proto/rip/rip.c b/proto/rip/rip.c index ee05f058..b4c702ae 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -776,7 +776,7 @@ rip_reconfigure_ifaces(struct rip_proto *p, struct rip_config *cf) { struct iface *iface; - WALK_LIST(iface, iface_list) + WALK_LIST(iface, global_iface_list) { if (!(iface->flags & IF_UP)) continue; |