mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-02 21:28:46 +00:00
Use new connection enumeration with AMF code.
(Logical change 1.58) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@198 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
35bc69551d
commit
f6c49d8d06
@ -634,7 +634,7 @@ void haStateSetApi (struct saAmfComponent *component, SaAmfHAStateT haState)
|
||||
/*
|
||||
* this should be an assertion
|
||||
*/
|
||||
if (component->conn_info->active == 0 ||
|
||||
if (component->conn_info->state != CONN_STATE_ACTIVE ||
|
||||
component->conn_info->service != SOCKET_SERVICE_AMF) {
|
||||
return;
|
||||
}
|
||||
@ -730,7 +730,7 @@ void readinessStateSetApi (struct saAmfComponent *component,
|
||||
/*
|
||||
* this should be an assertion
|
||||
*/
|
||||
if (component->conn_info->active == 0 ||
|
||||
if (component->conn_info->state != CONN_STATE_ACTIVE ||
|
||||
component->conn_info->service != SOCKET_SERVICE_AMF) {
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user