platform: fix nm_platform_link_cmp() to consider ifindex

(cherry picked from commit f167346534)
This commit is contained in:
Thomas Haller 2015-05-03 16:37:07 +02:00
parent 2a8e698b76
commit 495209c145

View file

@ -2623,6 +2623,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);