]> granicus.if.org Git - libnl/commit
route: fix return value of nl_rtgen_request()
authorThomas Haller <thaller@redhat.com>
Fri, 31 Jan 2014 13:15:13 +0000 (14:15 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 31 Jan 2014 13:46:13 +0000 (14:46 +0100)
commitb70174668b9867de573cf51471bc98bfe7fd2bc3
tree2d308ef88688bb87f1a9570dfeab732f21299444
parent4c7a3074bbd1a9dc0cb4d6b3566fafe464dcec0b
route: fix return value of nl_rtgen_request()

According to documentation, nl_rtgen_request() returns 0 on success,
but before it returned the number of bytes sent.

Signed-off-by: Thomas Haller <thaller@redhat.com>
lib/route/rtnl.c