]> granicus.if.org Git - libnl/commitdiff
route: Add FIXME to rtnl_route_nh_set_gateway() to fix return value
authorThomas Graf <tgraf@redhat.com>
Wed, 9 May 2012 13:03:46 +0000 (15:03 +0200)
committerThomas Graf <tgraf@redhat.com>
Wed, 9 May 2012 13:03:46 +0000 (15:03 +0200)
Reported-by: Justin Mayfield <jmayfield@cradlepoint.com>
lib/route/nexthop.c

index 48cbfcf5a623561f4d75a99327ac20703ec6121c..189bccd15e830bbcc158c807deaaecc9117534fd 100644 (file)
@@ -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;