On Wed, 2015-04-01 at 22:32 +0300, Slava Monich wrote:
---
Now there are more changes than just a inet_pton retur value. Please
write a proper commit message!
src/inet.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/inet.c b/src/inet.c
index
On 02/04/15 09:14, Patrik Flykt wrote:
@@ -634,17 +634,15 @@ int connman_inet_add_ipv6_network_route(int index,
const char *host,
rt.rtmsg_dst_len = prefix_len;
- if (inet_pton(AF_INET6, host, rt.rtmsg_dst) 0) {
+ if (inet_pton(AF_INET6, host, rt.rtmsg_dst) 1) {
---
src/inet.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/inet.c b/src/inet.c
index cd220ff..fae36a0 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -634,17 +634,15 @@ int connman_inet_add_ipv6_network_route(int index, const
char *host,
rt.rtmsg_dst_len