JIRA: SAMPLEVNF-80
The arp_route_tbl entry was not getting effected as the vnf_gateway
flag was not set after adding entry to routing table.
This patch fixes the issue.
Change-Id: Id3b1b14b698dea5e2beea7f3e90e8622896b5c5f
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
lentry->nh = nh_ip;
lentry->nh_mask = nh_ip & mask;
p_route_data[tx_port]->route_ent_cnt++;
+ vnf_gateway = 1;
token = strtok(NULL, "(");
}
lentry->port = tx_port;
p_nd_route_data[tx_port]->nd_route_ent_cnt++;
+ vnf_gateway = 1;
token = strtok(NULL, "(");
}