summaryrefslogtreecommitdiff
path: root/src/inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inet.c')
-rw-r--r--src/inet.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/inet.c b/src/inet.c
index e3adb7e9..c55af064 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -783,7 +783,8 @@ int connman_inet_del_ipv6_network_route(int index, const char *host,
close(sk);
out:
if (err < 0)
- connman_error("Del IPv6 host route error");
+ connman_error("Del IPv6 host route error (%s)",
+ strerror(errno));
return err;
}
@@ -833,7 +834,8 @@ int connman_inet_add_ipv6_network_route(int index, const char *host,
close(sk);
out:
if (err < 0)
- connman_error("Set IPv6 host route error");
+ connman_error("Set IPv6 host route error (%s)",
+ strerror(errno));
return err;
}
@@ -875,7 +877,8 @@ int connman_inet_set_ipv6_gateway_address(int index, const char *gateway)
close(sk);
out:
if (err < 0)
- connman_error("Set default IPv6 gateway error");
+ connman_error("Set default IPv6 gateway error (%s)",
+ strerror(errno));
return err;
}
@@ -911,7 +914,8 @@ int connman_inet_clear_ipv6_gateway_address(int index, const char *gateway)
close(sk);
out:
if (err < 0)
- connman_error("Clear default IPv6 gateway error");
+ connman_error("Clear default IPv6 gateway error (%s)",
+ strerror(errno));
return err;
}