Squashed commit of the following:
commit
dfbad8d2ee4434a1469deabf5ec2b9a5725ddbc4
Author: Shravan Rangaraju <shrarang@cisco.com>
Date: Wed Aug 14 19:25:44 2019 -0400
appid: fix for discovery unit tests
* t XHash table pointer
*
* returns
- * XHASH_ERR if error occures
+ * XHASH_ERR if error occurs
* XHASH_OK if node is freed
*/
int xhash_free_anr_lru(XHash *t)
p.pkth = &pkth;
SfIp ip;
p.ptrs.ip_api.set(ip, ip);
+ p.ptrs.tcph = nullptr;
AppIdModule app_module;
AppIdInspector ins(app_module);
AppIdSession* asd = new AppIdSession(IpProtocol::TCP, nullptr, 21, ins);
Flow* flow = new Flow;
flow->set_flow_data(asd);
p.flow = flow;
+ p.ptrs.tcph = nullptr;
asd->config = &my_app_config;
asd->common.initiator_port = 21;
asd->common.initiator_ip.set("1.2.3.4");