ws: document bug in ws dnslookup command
This commit is contained in:
parent
ee5a2eb46e
commit
22c3a7264e
@ -901,6 +901,9 @@ namespace ix
|
|||||||
|
|
||||||
auto addr = res->ai_addr;
|
auto addr = res->ai_addr;
|
||||||
|
|
||||||
|
// FIXME: this display weird addresses / we could steal libuv inet.c
|
||||||
|
// code which display correct results
|
||||||
|
|
||||||
char str[INET_ADDRSTRLEN];
|
char str[INET_ADDRSTRLEN];
|
||||||
inet_ntop(AF_INET, &addr, str, INET_ADDRSTRLEN);
|
inet_ntop(AF_INET, &addr, str, INET_ADDRSTRLEN);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user