diff options
Diffstat (limited to 'configd/src/apps/sentinel/outward-check.cpp')
-rw-r--r-- | configd/src/apps/sentinel/outward-check.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configd/src/apps/sentinel/outward-check.cpp b/configd/src/apps/sentinel/outward-check.cpp index bd6c22e7264..5fed69d0b6e 100644 --- a/configd/src/apps/sentinel/outward-check.cpp +++ b/configd/src/apps/sentinel/outward-check.cpp @@ -35,7 +35,8 @@ void OutwardCheck::RequestDone(FRT_RPCRequest *req) { _result = CcResult::REVERSE_FAIL; } } else if (req->GetErrorCode() == FRTE_RPC_NO_SUCH_METHOD || - req->GetErrorCode() == FRTE_RPC_WRONG_PARAMS) + req->GetErrorCode() == FRTE_RPC_WRONG_PARAMS || + req->GetErrorCode() == FRTE_RPC_WRONG_RETURN) { LOG(debug, "Connected OK to %s but no reverse connectivity check available", _spec.c_str()); _result = CcResult::REVERSE_UNAVAIL; @@ -43,7 +44,6 @@ void OutwardCheck::RequestDone(FRT_RPCRequest *req) { LOG(debug, "error on request to %s : %s (%d)", _spec.c_str(), req->GetErrorMessage(), req->GetErrorCode()); _result = CcResult::CONN_FAIL; - } _req->SubRef(); _req = nullptr; |