summaryrefslogtreecommitdiffstats
path: root/lib/route
diff options
context:
space:
mode:
authorThomas Graf <tgraf@redhat.com>2012-05-09 13:03:46 (GMT)
committerThomas Graf <tgraf@redhat.com>2012-05-09 13:03:46 (GMT)
commit100403a99a1437459cf60173dd0f51859ae7d5fe (patch)
tree4669c1bc2a169e2e0897f15b9389c77cd7479d98 /lib/route
parent2fbab02ba8c7b0a418c9d89c2c6db89dd4efd0eb (diff)
downloadlibnl-100403a99a1437459cf60173dd0f51859ae7d5fe.zip
libnl-100403a99a1437459cf60173dd0f51859ae7d5fe.tar.gz
libnl-100403a99a1437459cf60173dd0f51859ae7d5fe.tar.bz2
route: Add FIXME to rtnl_route_nh_set_gateway() to fix return value
Reported-by: Justin Mayfield <jmayfield@cradlepoint.com>
Diffstat (limited to 'lib/route')
-rw-r--r--lib/route/nexthop.c1
1 files changed, 1 insertions, 0 deletions
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;