From 100403a99a1437459cf60173dd0f51859ae7d5fe Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Wed, 9 May 2012 15:03:46 +0200 Subject: [PATCH] route: Add FIXME to rtnl_route_nh_set_gateway() to fix return value Reported-by: Justin Mayfield --- lib/route/nexthop.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.40.0