Squashed commit of the following:
commit
e64363d8a95e244218c87ae618ebf4632b44b8ad
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date: Mon Feb 11 09:33:29 2019 -0500
sip: update sip options to use has_tcp_data instead of is_tcp
{
Profile profile(sip_ps[idx]);
- if ((!p->is_tcp() && !p->is_udp()) || !p->flow || !p->dsize)
+ if ((!p->has_tcp_data() && !p->is_udp()) || !p->flow || !p->dsize)
return NO_MATCH;
// FIXIT-P cache id at parse time for runtime use
{
Profile profile(sipStatCodeRuleOptionPerfStats);
- if ((!p->is_tcp() && !p->is_udp()) || !p->flow || !p->dsize)
+ if ((!p->has_tcp_data() && !p->is_udp()) || !p->flow || !p->dsize)
return NO_MATCH;
SIPData* sd = get_sip_session_data(p->flow);