Skip to content

Commit

Permalink
Merge pull request #2386 from kvrban/master
Browse files Browse the repository at this point in the history
tcpops: target variable passed on tcp_get_conid function was empty
  • Loading branch information
miconda committed Jul 3, 2020
2 parents 0780e78 + a293249 commit fbb4312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/tcpops/tcpops_mod.c
Expand Up @@ -592,7 +592,7 @@ static int ki_tcp_get_conid_helper(sip_msg_t* msg, str *saddr, pv_spec_t *pvs)
setvalue:
memset(&val, 0, sizeof(pv_value_t));
val.ri = conid;
val.flags = PV_VAL_INT;
val.flags = PV_VAL_INT|PV_TYPE_INT;
if(pvs->setf(msg, &pvs->pvp, (int)EQ_T, &val)<0) {
LM_ERR("failed to set the output var\n");
return -1;
Expand Down

0 comments on commit fbb4312

Please sign in to comment.