diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-06-25 15:58:30 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-07-01 00:49:02 +0900 |
commit | 6eab614db805504cec3af0c1c7b21ae6275a89a6 (patch) | |
tree | 62e12230d07983edc51beffc0ff95d47891a8076 /src/network/networkd-bridge-fdb.c | |
parent | 907d5ce4d4f74abb121eb8979ee4fd0a6d8f501a (diff) | |
download | systemd-6eab614db805504cec3af0c1c7b21ae6275a89a6.tar.gz |
network: rename Manager::links -> Manager::links_by_index
This also renames link_get() -> link_get_by_index().
Diffstat (limited to 'src/network/networkd-bridge-fdb.c')
-rw-r--r-- | src/network/networkd-bridge-fdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-bridge-fdb.c b/src/network/networkd-bridge-fdb.c index 115ea5bb14..ab1b766d48 100644 --- a/src/network/networkd-bridge-fdb.c +++ b/src/network/networkd-bridge-fdb.c @@ -228,7 +228,7 @@ static bool bridge_fdb_is_ready_to_configure(BridgeFDB *fdb, Link *link) { fdb->outgoing_ifindex = out->ifindex; } else if (fdb->outgoing_ifindex > 0) { - if (link_get(link->manager, fdb->outgoing_ifindex, &out) < 0) + if (link_get_by_index(link->manager, fdb->outgoing_ifindex, &out) < 0) return false; } if (out && !link_is_ready_to_configure(out, false)) |