summaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/outward-check.h
diff options
context:
space:
mode:
Diffstat (limited to 'configd/src/apps/sentinel/outward-check.h')
-rw-r--r--configd/src/apps/sentinel/outward-check.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/configd/src/apps/sentinel/outward-check.h b/configd/src/apps/sentinel/outward-check.h
index 11faee1d707..d8803e22a02 100644
--- a/configd/src/apps/sentinel/outward-check.h
+++ b/configd/src/apps/sentinel/outward-check.h
@@ -27,7 +27,7 @@ struct OutwardCheckContext {
~OutwardCheckContext();
};
-enum class CcResult { UNKNOWN, CONN_FAIL, REVERSE_FAIL, REVERSE_UNAVAIL, ALL_OK };
+enum class CcResult { UNKNOWN, AFFIRMED_DOWN, CONN_FAIL, UNREACHABLE_UP, REVERSE_FAIL, REVERSE_UNAVAIL, ALL_OK };
class OutwardCheck : public FRT_IRequestWait {
private:
@@ -42,6 +42,7 @@ public:
void RequestDone(FRT_RPCRequest *req) override;
bool ok() const { return _result == CcResult::ALL_OK; }
CcResult result() const { return _result; }
+ void classifyResult(CcResult value);
};
}