route: Add FIXME to rtnl_route_nh_set_gateway() to fix return value
Reported-by: Justin Mayfield <jmayfield@cradlepoint.com>
This commit is contained in:
parent
2fbab02ba8
commit
100403a99a
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue