VOL-3856 Fix for TagType is hardcoded as DoubleTag in handleFlowWithGroup function
Change-Id: I4ecc9c2b7e01556f6b8df8a596a7aed13fa0dc26
diff --git a/internal/pkg/core/openolt_flowmgr.go b/internal/pkg/core/openolt_flowmgr.go
index a868d2a..82c77f6 100644
--- a/internal/pkg/core/openolt_flowmgr.go
+++ b/internal/pkg/core/openolt_flowmgr.go
@@ -2352,7 +2352,7 @@
// handleFlowWithGroup adds multicast flow to the device.
func (f *OpenOltFlowMgr) handleFlowWithGroup(ctx context.Context, actionInfo, classifierInfo map[string]interface{}, flow *ofp.OfpFlowStats) error {
- classifierInfo[PacketTagType] = DoubleTag
+ classifierInfo[PacketTagType] = getPacketTypeFromClassifiers(classifierInfo)
logger.Debugw(ctx, "add-multicast-flow", log.Fields{
"classifier-info": classifierInfo,
"actionInfo": actionInfo})