summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-05-03 16:37:07 +0200
committerThomas Haller <thaller@redhat.com>2015-05-13 14:31:05 +0200
commitf167346534f98a803a6a7fd6e274cd1d07479f18 (patch)
treee053c3a0498e2e75c5784eda7a3a15fc1fef0530
parentbde42e78db459795559ef6fcdc5a8fe4a03db0cc (diff)
downloadNetworkManager-f167346534f98a803a6a7fd6e274cd1d07479f18.tar.gz
platform: fix nm_platform_link_cmp() to consider ifindex
-rw-r--r--src/platform/nm-platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c
index a02423ddeb..5cb285c8a7 100644
--- a/src/platform/nm-platform.c
+++ b/src/platform/nm-platform.c
@@ -2767,6 +2767,7 @@ int
nm_platform_link_cmp (const NMPlatformLink *a, const NMPlatformLink *b)
{
_CMP_POINTER (a, b);
+ _CMP_FIELD (a, b, ifindex);
_CMP_FIELD (a, b, type);
_CMP_FIELD_STR (a, b, name);
_CMP_FIELD (a, b, master);