diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2016-05-30 14:37:22 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-05-30 14:37:22 +0200 |
commit | 28938155e0133ae31c2f8b498d9b985160ca3ab4 (patch) | |
tree | fe61fb409830ae48a8ad88cdda2ab709914ff819 /libnm-core/nm-connection.c | |
parent | 04852d2877cf94d80d17d0e3f46eb1d286a0ecdb (diff) | |
download | NetworkManager-28938155e0133ae31c2f8b498d9b985160ca3ab4.tar.gz |
core: don't include dns-priority in IP configuration hash
The DNS priority property of a IP configuration determines how the
configuration compares to others when deciding their order, but
doesn't specify directly parameters to be applied. In other words, two
configurations which differs only for the dns-priority should have the
same hash as applying them will give the same result.
Especially, when the DNS manager computes the hash of IP
configurations, the ones without real configuration data (servers,
domans, options...) should not change the hash value.
Thus, exclude the property from the hash computation and dowgrade any
modification to 'minor change'.
Fixes: bfabfb05ae642112b7fde23da0d78689c2046745
Fixes: f09f5e1ec84b1e8b0e6231f72655f6446ae4646a
Diffstat (limited to 'libnm-core/nm-connection.c')
0 files changed, 0 insertions, 0 deletions