[VOL-2338]: fix to set alarm status for onu dgi.
Change-Id: Idbc9b062329e6797be88c7b8fe0034a821935b7d
diff --git a/agent/src/indications.cc b/agent/src/indications.cc
index 936e14a..e6f7497 100644
--- a/agent/src/indications.cc
+++ b/agent/src/indications.cc
@@ -357,8 +357,8 @@
switch (msg->subgroup) {
case BCMOLT_ONU_AUTO_SUBGROUP_DGI:
{
- bcmolt_onu_dgi_data* dgi_data = (bcmolt_onu_dgi_data *)msg;
- dgi_ind->set_status(alarm_status_to_string(dgi_data->alarm_status));
+ bcmolt_onu_dgi* dgi_data = (bcmolt_onu_dgi *)msg;
+ dgi_ind->set_status(alarm_status_to_string(dgi_data->data.alarm_status));
alarm_ind->set_allocated_dying_gasp_ind(dgi_ind);
ind.set_allocated_alarm_ind(alarm_ind);