rtnl_route_nh_set_gateway

Justin Mayfield jmayfield at cradlepoint.com
Tue May 8 18:17:58 EDT 2012


Hi,

I have a question/comment about a minor API inconsistency.  I have a 
routine that takes function pointers from the following functions:

    rtnl_rule_set_src
    rtnl_rule_set_dst
    rtnl_route_set_src
    rtnl_route_set_dst
    rtnl_route_set_pref_src
    rtnl_route_nh_set_gateway

All of these except for rtnl_route_nh_set_gateway() return an int.  I 
can easily wrap this but it seemed worth mentioning that of all the 
nl_addr "setters" this was the only one to not return an int.

JM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20120508/883d1eac/attachment.html>


More information about the libnl mailing list