diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-30 20:55:43 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-30 20:55:43 +0000 |
commit | b631ec45c7acd9827e749b787b4a4eb11e83ad69 (patch) | |
tree | 1460ea34ec94043f6c6bdc11084227d2517cf4f8 /channels | |
parent | 7d8d79e3aedd9d282ed3725103bc69301d6f76be (diff) |
Issue #8319 (imported from 1.2, 1.4) - Increment nonce-count properly (noriyuki)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48167 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 4c8ce286b..fd72a8546 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7347,7 +7347,8 @@ static int transmit_register(struct sip_registry *r, int sipmethod, const char * ast_string_field_set(p, domain, r->domain); ast_string_field_set(p, opaque, r->opaque); ast_string_field_set(p, qop, r->qop); - p->noncecount = r->noncecount++; + r->noncecount++; + p->noncecount = r->noncecount; memset(digest,0,sizeof(digest)); if(!build_reply_digest(p, sipmethod, digest, sizeof(digest))) |