Commit d5cbd48a authored by Radostin Stoyanov's avatar Radostin Stoyanov Committed by Andrei Vagin

config: Add msg for obsolete use of port/address

When the --ps-socket option is specified the provided file descriptor
of a socket will be reused for incoming TCP connection. In such case
the --address and --port options are ignored.
Signed-off-by: 's avatarRadostin Stoyanov <rstoyanov1@gmail.com>
parent ee79bb3a
......@@ -842,6 +842,10 @@ int check_options()
return 1;
}
if (opts.ps_socket != -1 && (opts.addr || opts.port))
pr_warn("Using --address or --port in "
"combination with --ps-socket is obsolete\n");
if (check_namespace_opts()) {
pr_err("Error: namespace flags conflict\n");
return 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment