Fix return value of getlink function
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 14 Oct 2008 12:29:17 +0000 (14:29 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 14 Oct 2008 12:29:17 +0000 (14:29 +0200)
src/rtnl.c

index f02c94b..3385017 100644 (file)
@@ -469,7 +469,7 @@ int connman_rtnl_send_getlink(void)
        req.hdr.nlmsg_seq = 42;
        req.msg.rtgen_family = AF_INET;
 
-       __connman_rtnl_send(&req, sizeof(req));
+       return __connman_rtnl_send(&req, sizeof(req));
 }
 
 int __connman_rtnl_init(void)