Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2018-09-13 20:28:07 +0300
committerAndrei Vagin <avagin@gmail.com>2018-10-30 19:28:01 +0300
commita7c384f6eebcebc8b49655601956c18c51735672 (patch)
treeee135335c187a80adbf25956f49480ebc9e42190 /Documentation
parent4fe75ecfc43c29594f31fa655a38cf3ea79b6cbd (diff)
util: Enable hostname resolution in tcp_client
Add hostname resolution in setup_tcp_client(). This change allows a valid hostname to be provided as value for --address option when connecting to page server. This change is needed for the following path which removes setup_TCP_client_socket() from img-proxy.c. In this function the hostname resolution was implemented using gethostbyname() However, here we use `getaddrinfo` instead because gethostbyname() is marked obsolescent in POSIX.1-2001 and is removed in POSIX.1-2008 specifications. Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/criu.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/criu.txt b/Documentation/criu.txt
index 003d748ce..4194f5b0c 100644
--- a/Documentation/criu.txt
+++ b/Documentation/criu.txt
@@ -558,7 +558,7 @@ Launches *criu* in page server mode.
It isn't supposed to use --daemon and --status-fd together.
*--address* 'address'::
- Page server IP address.
+ Page server IP address or hostname.
*--port* 'number'::
Page server port number.