mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Forgot to commit this as a part of r219818.
MFC after: 1 week
This commit is contained in:
parent
aa0a1e58f0
commit
4b6b8dd656
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219821
@ -330,6 +330,9 @@ control_status(struct nv *nv)
|
||||
(unsigned int)nv_get_uint32(nv, "keepdirty%u", ii));
|
||||
printf(" remoteaddr: %s\n",
|
||||
nv_get_string(nv, "remoteaddr%u", ii));
|
||||
str = nv_get_string(nv, "sourceaddr%u", ii);
|
||||
if (str != NULL)
|
||||
printf(" sourceaddr: %s\n", str);
|
||||
printf(" replication: %s\n",
|
||||
nv_get_string(nv, "replication%u", ii));
|
||||
str = nv_get_string(nv, "status%u", ii);
|
||||
@ -466,7 +469,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
/* Setup control connection... */
|
||||
if (proto_client(cfg->hc_controladdr, &controlconn) < 0) {
|
||||
if (proto_client(NULL, cfg->hc_controladdr, &controlconn) < 0) {
|
||||
pjdlog_exit(EX_OSERR,
|
||||
"Unable to setup control connection to %s",
|
||||
cfg->hc_controladdr);
|
||||
|
Loading…
Reference in New Issue
Block a user