object: fix attribute comparison
object: fix attribute comparison

Currently two attributes are regarded as different if they are absent in
both objects to be compared. This is obviously incorrect, change to
regard objects as different if an attribute is only present on one of
them or if the attribute data differs.

Signed-off-by: Patrick McHardy <3a4d625ce225e891399f98db96a382ac4a84080b@trash.net>

CyanogenMod/android_external_libnl,tgraf/libnl,chitranshi/libnl,vyos/libnl3,xin3liang/platform_external_libnl,socketpair/libnl,honsys/libnl,chitranshi/libnl,chitranshi/libnl,kolyshkin/libnl,xin3liang/platform_external_libnl,tklauser/libnl,baloo/libnl,cfriedt/libnl,yinquan529/platform-external-libnl,socketpair/libnl,karlhiramoto/libnl,vyos/libnl3,HolyShitMan/libnl-1,karlhiramoto/libnl,kolyshkin/libnl,congwang/libnl,UnicronNL/libnl3,cyclops8456/libnl3,houstar/libnl,HolyShitMan/libnl-1,cfriedt/libnl,gxk/libnl,gxk/libnl,Omegaphora/external_libnl,Distrotech/libnl,honsys/libnl,HolyShitMan/libnl-1,dsahern/libnl,tklauser/libnl,thiz11/platform_external_libnl,teto/libnl_old,dsahern/libnl,vyos/libnl3,geekboxzone/mmallow_external_libnl,vyos/libnl3,congwang/libnl,congwang/libnl,mshirley/libnl,android-ia/platform_external_libnl,baloo/libnl,honsys/libnl,thom311/libnl,Omegaphora/external_libnl,android-ia/platform_external_libnl,Distrotech/libnl,claudelee/libnl,mshirley/libnl,HolyShitMan/libnl-1,geekboxzone/mmallow_external_libnl,mshirley/libnl,cyclops8456/libnl3,mshirley/libnl,teto/libnl_old,congwang/libnl,teto/libnl_old,karlhiramoto/libnl,honsys/libnl,thiz11/platform_external_libnl,UnicronNL/libnl3,cfriedt/libnl,Distrotech/libnl,CyanogenMod/android_external_libnl,tklauser/libnl,Distrotech/libnl,greearb/libnl-ct,tgraf/libnl,houstar/libnl,dsahern/libnl,houstar/libnl,chitranshi/libnl,UnicronNL/libnl3,socketpair/libnl,cyclops8456/libnl3,tgraf/libnl,cyclops8456/libnl3,baloo/libnl,geekboxzone/lollipop_external_libnl,claudelee/libnl,teto/libnl_old,thom311/libnl,claudelee/libnl,karlhiramoto/libnl,houstar/libnl,gxk/libnl,tklauser/libnl,UnicronNL/libnl3,thom311/libnl,kolyshkin/libnl,dsahern/libnl,cfriedt/libnl,greearb/libnl-ct,geekboxzone/lollipop_external_libnl,greearb/libnl-ct,kolyshkin/libnl,yinquan529/platform-external-libnl,tgraf/libnl,baloo/libnl,claudelee/libnl