[VOL-3742] : Number of IPv4 Multicast group is limited to 1
- Added Missing IPv4 Multicast group classifer in BAL flow
- Bump agent version to 3.3.2
Change-Id: Id0b97e4957381431beaa34c528a1497ca3f04e87
diff --git a/agent/src/core_api_handler.cc b/agent/src/core_api_handler.cc
index 18363f9..d6263c4 100644
--- a/agent/src/core_api_handler.cc
+++ b/agent/src/core_api_handler.cc
@@ -1756,11 +1756,15 @@
BCMOLT_FIELD_SET(&c_val, classifier, ip_proto, classifier.ip_proto());
}
- /*
if (classifier.dst_ip()) {
- BCMBAL_ATTRIBUTE_PROP_SET(&val, classifier, dst_ip, classifier.dst_ip());
+ bcmos_ipv4_address d_ip = {};
+ bcmos_ipv4_address_init(&d_ip);
+ d_ip.u32 = classifier.dst_ip();
+ OPENOLT_LOG(DEBUG, openolt_log_id, "classify dst_ip %04x\n", d_ip.u32);
+ BCMOLT_FIELD_SET(&c_val, classifier, dst_ip, d_ip);
}
+ /*
if (classifier.src_ip()) {
BCMBAL_ATTRIBUTE_PROP_SET(&val, classifier, src_ip, classifier.src_ip());
}