summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-address-pool.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-06-25 08:58:30 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-30 17:49:02 +0200
commit6eab614db805504cec3af0c1c7b21ae6275a89a6 (patch)
tree62e12230d07983edc51beffc0ff95d47891a8076 /src/network/networkd-address-pool.c
parentether-addr-util: introduce hw_addr_hash_ops (diff)
downloadsystemd-6eab614db805504cec3af0c1c7b21ae6275a89a6.tar.xz
systemd-6eab614db805504cec3af0c1c7b21ae6275a89a6.zip
network: rename Manager::links -> Manager::links_by_index
This also renames link_get() -> link_get_by_index().
Diffstat (limited to 'src/network/networkd-address-pool.c')
-rw-r--r--src/network/networkd-address-pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-address-pool.c b/src/network/networkd-address-pool.c
index 79a1c1b847..e1cefbefbd 100644
--- a/src/network/networkd-address-pool.c
+++ b/src/network/networkd-address-pool.c
@@ -95,7 +95,7 @@ static bool address_pool_prefix_is_taken(
assert(p);
assert(u);
- HASHMAP_FOREACH(l, p->manager->links) {
+ HASHMAP_FOREACH(l, p->manager->links_by_index) {
Address *a;
/* Don't clash with assigned addresses */