summaryrefslogtreecommitdiffstats
path: root/lib/route/route.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-06-29 18:43:33 (GMT)
committerThomas Haller <thaller@redhat.com>2016-07-08 10:02:07 (GMT)
commitf01e93f1f9fd3ea3dade4e291b965abf3a928794 (patch)
tree509ff9323374e22d5a021d6beddfad55d9334f09 /lib/route/route.c
parentc312a2a929bbd273619790a9a601f685071a995a (diff)
downloadlibnl-cache-nonexcl-route.zip
libnl-cache-nonexcl-route.tar.gz
libnl-cache-nonexcl-route.tar.bz2
Diffstat (limited to 'lib/route/route.c')
-rw-r--r--lib/route/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/route.c b/lib/route/route.c
index cb9d243..f35f2e9 100644
--- a/lib/route/route.c
+++ b/lib/route/route.c
@@ -40,7 +40,7 @@ uint32_t route_cache_search_attr_get(struct nl_cache *cache,
* in the cache. So, look for the first object
* that matches the hash key attributes
*/
- if ((needle->ce_msgflags & NLM_F_REPLACE) ||
+ if ((new_route->rt_msgflags & NLM_F_REPLACE) ||
rtnl_route_is_likely_ipv6_multipath(new_route))
return ops->oo_hash_attrs_get(needle);
else