Don't overwrite pkt->flags (imported from 1.2/1.4)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson 2006-11-02 15:31:53 +00:00
parent 881ad15f2b
commit 5a87a3bbb2
1 changed files with 2 additions and 1 deletions

View File

@ -1939,7 +1939,8 @@ static enum sip_result __sip_reliable_xmit(struct sip_pvt *p, int seqno, int res
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)