If we act in different role than requested by the remote node, log it
as a warning and not an error. MFC after: 1 week
This commit is contained in:
parent
20f32a33d2
commit
0eb02c031b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220890
@ -730,7 +730,7 @@ listen_accept(void)
|
|||||||
}
|
}
|
||||||
/* Is the resource marked as secondary? */
|
/* Is the resource marked as secondary? */
|
||||||
if (res->hr_role != HAST_ROLE_SECONDARY) {
|
if (res->hr_role != HAST_ROLE_SECONDARY) {
|
||||||
pjdlog_error("We act as %s for the resource and not as %s as requested by %s.",
|
pjdlog_warning("We act as %s for the resource and not as %s as requested by %s.",
|
||||||
role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY),
|
role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY),
|
||||||
raddr);
|
raddr);
|
||||||
nv_add_stringf(nverr, "errmsg",
|
nv_add_stringf(nverr, "errmsg",
|
||||||
|
Loading…
Reference in New Issue
Block a user