]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: listhead returns a listnode *
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 17 Apr 2019 03:15:56 +0000 (23:15 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 17 Apr 2019 03:15:56 +0000 (23:15 -0400)
commit1019731833f2f5a5b6b28d0909df4895cc388398
tree73ee1e4ee90798a3306ec09077f88c5199c0e4c5
parent42452fcbb2523b004908208dcda0db1284c74384
ospf6d: listhead returns a listnode *

The ospf6_route_get_first_nh_index function call calls
listhead which returns a (listnode *) but we are casting
it to a (struct ospf6_nexthop *) and away we go.

Fixes: #4142
Found By: Kwind
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospf6d/ospf6_route.c