summaryrefslogtreecommitdiffstats
path: root/lib/utils.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-14 09:05:48 (GMT)
committerThomas Haller <thaller@redhat.com>2016-08-14 09:07:01 (GMT)
commit99b1d8acf87bcb35efed49f412d54af682bf1738 (patch)
tree32745e95f7ab1229523d3957c4f535b52a203b34 /lib/utils.c
parentdfaba51b5b2b5ad7e3c4990c2af3f30acbe5f8d9 (diff)
downloadlibnl-99b1d8acf87bcb35efed49f412d54af682bf1738.zip
libnl-99b1d8acf87bcb35efed49f412d54af682bf1738.tar.gz
libnl-99b1d8acf87bcb35efed49f412d54af682bf1738.tar.bz2
lib: capability NL_CAPABILITY_RTNL_ADDR_PEER_ID_FIX for ID comparison of v4 addresses
The ID attributes for IPv4 addresses were broken which causes wrong nl_object_identical() and cache lookup. This capability shall indicate that the bug was fixed. Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/utils.c')
-rw-r--r--lib/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.c b/lib/utils.c
index 7bcc251..3e98ab5 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -1164,7 +1164,7 @@ int nl_has_capability (int capability)
NL_CAPABILITY_XFRM_SA_KEY_SIZE,
NL_CAPABILITY_RTNL_ADDR_PEER_FIX,
NL_CAPABILITY_VERSION_3_2_28,
- 0,
+ NL_CAPABILITY_RTNL_ADDR_PEER_ID_FIX,
0,
0,
0,