diff options
| author | Michael Biebl <biebl@debian.org> | 2024-08-09 18:57:15 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2024-08-09 18:57:15 +0200 |
| commit | e96d74409128c6a977e31f24fad9b267d2feb9a1 (patch) | |
| tree | 12dad71135c6c291de457568cb973208ea8a0024 /src/core/nm-bond-manager.c | |
| parent | 45a364c60a9d6d34e614c4f1f507c69336ad1e69 (diff) | |
New upstream version 1.48.8 upstream/1.48.8
Diffstat (limited to 'src/core/nm-bond-manager.c')
| -rw-r--r-- | src/core/nm-bond-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nm-bond-manager.c b/src/core/nm-bond-manager.c index 9985fccf..71cd4ee7 100644 --- a/src/core/nm-bond-manager.c +++ b/src/core/nm-bond-manager.c @@ -696,7 +696,7 @@ _reconfigure_check(NMBondManager *self, gboolean reapply) /* Find all the connected ports that are IFF_RUNNING. */ pl_links_head_entry = nm_platform_lookup_obj_type(self->platform, NMP_OBJECT_TYPE_LINK); nmp_cache_iter_for_each_link (&pliter, pl_links_head_entry, &plink_port) { - if (plink_port->master != self->ifindex) + if (plink_port->controller != self->ifindex) continue; if (!NM_FLAGS_HAS(plink_port->n_ifi_flags, IFF_RUNNING)) continue; @@ -814,7 +814,7 @@ _link_changed_cb(NMPlatform *platform, if (ifindex == self->ifindex) goto schedule; - if (plink->master == self->ifindex) + if (plink->controller == self->ifindex) goto schedule; if (g_hash_table_contains(self->previous_ifindexes, GINT_TO_POINTER(ifindex))) |