]> granicus.if.org Git - libnl/commit
object: fix attribute comparison
authorPatrick McHardy <kaber@trash.net>
Wed, 7 Apr 2010 17:15:40 +0000 (19:15 +0200)
committerThomas Graf <tgraf@suug.ch>
Mon, 19 Apr 2010 10:51:24 +0000 (12:51 +0200)
commitb3096c4acfb63e27c87ae1a2f6d4f611d899c12d
tree3c6dcdd35471203d85334ecce813406e7928ce3d
parent3c28aa5dca309286ad9136c6d4742969b5dfde1d
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 <kaber@trash.net>
include/netlink/object-api.h