]> granicus.if.org Git - libnl/commit
route_clone : fix segmentation fault using nl_cache_subset to filter routes
authorLoïc Touraine <ltouraine@envivio.com>
Wed, 29 Aug 2012 10:14:01 +0000 (12:14 +0200)
committerThomas Graf <tgraf@redhat.com>
Wed, 29 Aug 2012 10:14:59 +0000 (12:14 +0200)
commit97d2460fabaabffce0d224bdd24c0bdfee57dbf1
treeb440a3fb33a6a9d8fc8d38613cebd0e935d3137e
parent376a0e29c720add10064b9caa51d8b854b936c48
route_clone : fix segmentation fault using nl_cache_subset to filter routes

reset the nb nhops to 0 (dst->rt_nr_nh = 0) before setting the dst->nhops
from the src->nhops
lib/route/route_obj.c