projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c80f1
)
net: better log_d
author
Robert Swiecki
<robert@swiecki.net>
Mon, 19 Jun 2017 21:59:29 +0000
(23:59 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Mon, 19 Jun 2017 21:59:29 +0000
(23:59 +0200)
net.c
patch
|
blob
|
history
diff --git
a/net.c
b/net.c
index 3ba5de8d08ea2b874629300bb87171086c688270..cc10951f291efff02aa77ba49fbec789109f74d4 100644
(file)
--- a/
net.c
+++ b/
net.c
@@
-199,8
+199,8
@@
int netGetRecvSocket(const char *bindhost, int port)
snprintf(bindaddr, sizeof(bindaddr), "%s", bindhost);
struct in_addr in4a;
if (inet_pton(AF_INET, bindaddr, &in4a) == 1) {
- LOG_D("Converting bind IPv4:'%s' to IPv6:'::ffff:%s'", bindhost, bindhost);
snprintf(bindaddr, sizeof(bindaddr), "::ffff:%s", bindhost);
+ LOG_D("Converting bind IPv4:'%s' to IPv6:'%s'", bindhost, bindaddr);
}
struct in6_addr in6a;