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 /sysdep | |
parent | b6c9263543060141d79e205e1b3408099ad1afc4 (diff) |
Global interface list renamed to not clash with local lists
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/bsd/krt-sock.c | 2 | ||||
-rw-r--r-- | sysdep/linux/netlink.c | 2 |
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 = { |