summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-01-24 10:01:10 +0100
committerMaria Matejka <mq@ucw.cz>2022-02-03 10:30:33 +0100
commitc651cef737c7c7578c26bd787c0abd3c364bf4b8 (patch)
treeea075e90ddd3efdd4451021a4921172ec979ce5d /sysdep
parentb6c9263543060141d79e205e1b3408099ad1afc4 (diff)
Global interface list renamed to not clash with local lists
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/bsd/krt-sock.c2
-rw-r--r--sysdep/linux/netlink.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c
index 1d0a8e1b..a0f6a7cb 100644
--- a/sysdep/bsd/krt-sock.c
+++ b/sysdep/bsd/krt-sock.c
@@ -242,7 +242,7 @@ krt_send_route(struct krt_proto *p, int cmd, const rte *e)
*/
if (!i)
{
- WALK_LIST(j, iface_list)
+ WALK_LIST(j, global_iface_list)
{
if (j->flags & IF_LOOPBACK)
{
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c
index bff2d579..9b7b502d 100644
--- a/sysdep/linux/netlink.c
+++ b/sysdep/linux/netlink.c
@@ -1148,7 +1148,7 @@ kif_do_scan(struct kif_proto *p UNUSED)
/* Re-resolve master interface for slaves */
struct iface *i;
- WALK_LIST(i, iface_list)
+ WALK_LIST(i, global_iface_list)
if (i->master_index)
{
struct iface f = {