projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'upstream/1.40' into tizen.
[platform/upstream/connman.git]
/
src
/
dhcpv6.c
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index
4c07c76
..
ba54b89
100755
(executable)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-1008,7
+1008,7
@@
static void do_dad(GDHCPClient *dhcp_client, struct connman_dhcpv6 *dhcp)
ref_own_address(user_data);
- if (inet_pton(AF_INET6, address, &addr)
< 0
) {
+ if (inet_pton(AF_INET6, address, &addr)
!= 1
) {
DBG("Invalid IPv6 address %s %d/%s", address,
-errno, strerror(errno));
goto fail;