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 /nest/neighbor.c | |
parent | b6c9263543060141d79e205e1b3408099ad1afc4 (diff) |
Global interface list renamed to not clash with local lists
Diffstat (limited to 'nest/neighbor.c')
-rw-r--r-- | nest/neighbor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nest/neighbor.c b/nest/neighbor.c index e10413bd..50defb96 100644 --- a/nest/neighbor.c +++ b/nest/neighbor.c @@ -152,7 +152,7 @@ if_connected_any(ip_addr a, struct iface *vrf, struct iface **iface, struct ifa *addr = NULL; /* Prefer SCOPE_HOST or longer prefix */ - WALK_LIST(i, iface_list) + WALK_LIST(i, global_iface_list) if ((!vrf || vrf == i->master) && ((s = if_connected(a, i, &b, flags)) >= 0)) if (scope_better(s, scope) || (scope_remote(s, scope) && ifa_better(b, *addr))) { @@ -440,7 +440,7 @@ neigh_if_up(struct iface *i) node *x, *y; /* Update neighbors that might be better off with the new iface */ - WALK_LIST(ii, iface_list) + WALK_LIST(ii, global_iface_list) if (!EMPTY_LIST(ii->neighbors) && (ii != i) && if_intersect(i, ii)) WALK_LIST2_DELSAFE(n, x, y, ii->neighbors, if_n) neigh_update(n, i); @@ -502,7 +502,7 @@ neigh_ifa_up(struct ifa *a) node *x, *y; /* Update neighbors that might be better off with the new ifa */ - WALK_LIST(ii, iface_list) + WALK_LIST(ii, global_iface_list) if (!EMPTY_LIST(ii->neighbors) && ifa_intersect(a, ii)) WALK_LIST2_DELSAFE(n, x, y, ii->neighbors, if_n) neigh_update(n, i); |