projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5c381e
)
inet: use correct type for IPv6 address
51/300051/1
accepted/tizen/unified/20231024.032139
author
Jaehyun Kim
<jeik01.kim@samsung.com>
Mon, 16 Oct 2023 07:54:12 +0000
(16:54 +0900)
committer
Jaehyun Kim
<jeik01.kim@samsung.com>
Mon, 16 Oct 2023 07:54:12 +0000
(16:54 +0900)
Real types must be in_addr for AF_INET and in6_addr for AF_INET6.
Change-Id: I5183cd171e465def63fc42c0da819c342f6768e6
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
src/inet.c
patch
|
blob
|
history
diff --git
a/src/inet.c
b/src/inet.c
index
1e400fb
..
81668f8
100644
(file)
--- a/
src/inet.c
+++ b/
src/inet.c
@@
-2447,7
+2447,7
@@
int connman_inet_get_dest_addr(int index, char **dest)
int connman_inet_ipv6_get_dest_addr(int index, char **dest)
{
struct interface_address if_addr = { 0 };
- struct in_addr dstaddr = { 0 };
+ struct in
6
_addr dstaddr = { 0 };
char buf[INET6_ADDRSTRLEN] = { 0 };
int err;