VOL-1432 Segmentation error in GetGemPortID ()
Change-Id: Idca71daa1b54b86ab235d9caebacff4fee68bec1
diff --git a/core/grpc_service.go b/core/grpc_service.go
index f7bf672..fe88a5a 100644
--- a/core/grpc_service.go
+++ b/core/grpc_service.go
@@ -152,7 +152,7 @@
}).Debug("OLT receives FlowAdd().")
if flow.Classifier.EthType == uint32(layers.EthernetTypeEAPOL) {
- omcistate := omci.GetOnuOmciState(onu.OnuID, onu.IntfID)
+ omcistate := omci.GetOnuOmciState(onu.IntfID, onu.OnuID)
if omcistate == omci.DONE {
s.updateOnuIntState(intfid, onuid, device.ONU_OMCIACTIVE)
} else {