summaryrefslogtreecommitdiffstats
path: root/lib/route/rtnl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/route/rtnl.c')
-rw-r--r--lib/route/rtnl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/route/rtnl.c b/lib/route/rtnl.c
index 242e2a8..e0a7f2a 100644
--- a/lib/route/rtnl.c
+++ b/lib/route/rtnl.c
@@ -34,9 +34,9 @@
* Fills out a routing netlink request message and sends it out
* using nl_send_simple().
*
- * @return 0 on success or a negative error code. Due to a bug in
- * older versions, this returned the number of bytes sent. So for
- * compatibility, treat positive return values as success too.
+ * @return 0 on success or a negative error code. Due to a bug in older
+ * version of the library, this function returned the number of bytes sent.
+ * Treat any non-negative number as success.
*/
int nl_rtgen_request(struct nl_sock *sk, int type, int family, int flags)
{