summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-06-27 19:42:44 +0200
committerThomas Haller <thaller@redhat.com>2017-07-05 14:22:10 +0200
commitb002357f5f77887d5bc11e0534ddaa46664f1af2 (patch)
tree99fb64c9b8df00a1add091471528b5b95ee9a525
parent26f04fd886b9dc72e567608f5efefde0bca3df71 (diff)
downloadNetworkManager-b002357f5f77887d5bc11e0534ddaa46664f1af2.tar.gz
platform: fix nm_platform_lnk_macvlan_cmp() to consider "tap" field
-rw-r--r--src/platform/nm-platform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c
index 7f12fb743b..a1a7888976 100644
--- a/src/platform/nm-platform.c
+++ b/src/platform/nm-platform.c
@@ -4236,7 +4236,8 @@ nm_platform_lnk_macvlan_cmp (const NMPlatformLnkMacvlan *a, const NMPlatformLnkM
{
_CMP_SELF (a, b);
_CMP_FIELD (a, b, mode);
- _CMP_FIELD_BOOL (a, b, no_promisc);
+ _CMP_FIELD (a, b, no_promisc);
+ _CMP_FIELD (a, b, tap);
return 0;
}