VOL-1150 A single threaded implementation for the OpenOLT driver
Stats collection is driven from the main thread.
Change-Id: I773a4aeb0e840f2a36895e39b999b2dcaf2adaa6
diff --git a/src/indications.cc b/src/indications.cc
index adac6ad..4d7a393 100644
--- a/src/indications.cc
+++ b/src/indications.cc
@@ -48,10 +48,10 @@
bcmbal_access_terminal_oper_status_change *acc_term_ind = (bcmbal_access_terminal_oper_status_change *)obj;
if (acc_term_ind->data.new_oper_status == BCMBAL_STATUS_UP) {
olt_ind->set_oper_state("up");
- state::activate();
+ state.activate();
} else {
olt_ind->set_oper_state("down");
- state::deactivate();
+ state.deactivate();
}
ind.set_allocated_olt_ind(olt_ind);
std::cout << "olt indication, oper_state:" << ind.olt_ind().oper_state() << std::endl;