mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Don't overwrite flags in the packet
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1289,7 +1289,8 @@ static int __sip_reliable_xmit(struct sip_pvt *p, int seqno, int resp, char *dat
|
||||
pkt->next = p->packets;
|
||||
pkt->owner = p;
|
||||
pkt->seqno = seqno;
|
||||
pkt->flags = resp;
|
||||
if (resp)
|
||||
ast_set_flag(pkt->flags, FLAG_RESPONSE);
|
||||
pkt->data[len] = '\0';
|
||||
pkt->timer_t1 = p->timer_t1; /* Set SIP timer T1 */
|
||||
if (fatal)
|
||||
|
Reference in New Issue
Block a user