From: Thomas Graf Date: Wed, 9 May 2012 13:03:46 +0000 (+0200) Subject: route: Add FIXME to rtnl_route_nh_set_gateway() to fix return value X-Git-Tag: libnl3_2_10~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=100403a99a1437459cf60173dd0f51859ae7d5fe;p=libnl route: Add FIXME to rtnl_route_nh_set_gateway() to fix return value Reported-by: Justin Mayfield --- diff --git a/lib/route/nexthop.c b/lib/route/nexthop.c index 48cbfcf..189bccd 100644 --- a/lib/route/nexthop.c +++ b/lib/route/nexthop.c @@ -211,6 +211,7 @@ int rtnl_route_nh_get_ifindex(struct rtnl_nexthop *nh) return nh->rtnh_ifindex; } +/* FIXME: Convert to return an int */ void rtnl_route_nh_set_gateway(struct rtnl_nexthop *nh, struct nl_addr *addr) { struct nl_addr *old = nh->rtnh_gateway;