IPACM: fix the CPE client header issue
For current CPE test-cases, all CPE clients
will use the same defulat CPE-header which
causes data tranmission failed. The fix is
to configure right dst-mac for each client.
Change-Id: I76fb0ecbcddee61ee80e604780cbebe9751810a6
diff --git a/ipacm/src/IPACM_Lan.cpp b/ipacm/src/IPACM_Lan.cpp
index 624f548..947d66e 100644
--- a/ipacm/src/IPACM_Lan.cpp
+++ b/ipacm/src/IPACM_Lan.cpp
@@ -1807,7 +1807,6 @@
/* Replace the v4 header in ODU interface */
if (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat == ODU_IF)
- rt_rule_entry->rule.hdr_hdl = ODU_hdr_hdl_v4;
if (false == m_routing.AddRoutingRule(rt_rule))
{
@@ -1835,10 +1834,6 @@
IPACM_Iface::ipacmcfg->rt_tbl_v6.name,
sizeof(rt_rule->rt_tbl_name));
- /* Replace v6 header in ODU interface */
- if (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat == ODU_IF)
- rt_rule_entry->rule.hdr_hdl = ODU_hdr_hdl_v6;
-
/* Support QCMAP LAN traffic feature, send to A5 */
rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS;
memset(&rt_rule_entry->rule.attrib, 0, sizeof(rt_rule_entry->rule.attrib));