[VOL-3548] Differentiate between OLT gRPC channel disconnect and device reboot
- Return the previously_connected state flag in response to GetDeviceInfo to VOLTHA
Change-Id: I3a39eccdda386658226c6379a4815900b808795d
diff --git a/agent/common/server.cc b/agent/common/server.cc
index e04a9ba..2b7a915 100644
--- a/agent/common/server.cc
+++ b/agent/common/server.cc
@@ -147,7 +147,7 @@
std::cout << "Connection to Voltha established. Indications enabled"
<< std::endl;
- if (state.previsouly_connected()) {
+ if (state.previously_connected()) {
// Reconciliation / recovery case
std::cout << "Reconciliation / Recovery case" << std::endl;
if (state.is_activated()){