libnm-core: implement option matching for NMSettingBond
authorBeniamino Galvani <bgalvani@redhat.com>
Fri, 18 Mar 2016 15:28:38 +0000 (16:28 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Tue, 29 Mar 2016 16:10:05 +0000 (18:10 +0200)
commit4839c747c2c8ec5a6689a17c741f08297bb78d4f
treea24ddc1f6204b0afd00688c60f7f59dc32f6562a
parent260fcc52a8b579fe2dfee20808439b0e2684d1c5
libnm-core: implement option matching for NMSettingBond

We cannot simply compare the single values of option hashes to match
connections because some keys are equivalent to others and also
because keys having a default value should be ignored.

Add the compare_property method to implement custom comparison logic.
libnm-core/nm-setting-bond.c