diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-06-21 12:36:56 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-06-21 12:36:56 +0000 |
commit | 0eac2d8e551d69072fb8a60be35c3867fe96b793 (patch) | |
tree | d287b9d43354d3246293fec29e38a31f9973ef99 /pjnath/include | |
parent | 96f36004c27455545b9b02ba03d59a5e3d7bf4d8 (diff) |
Fixed bug with authenticating STUN messages when unrecognized/unknown non-mandatory STUN attribute is present in the message
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2041 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r-- | pjnath/include/pjnath/stun_msg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/stun_msg.h b/pjnath/include/pjnath/stun_msg.h index 9c5602f1..61cff153 100644 --- a/pjnath/include/pjnath/stun_msg.h +++ b/pjnath/include/pjnath/stun_msg.h @@ -582,6 +582,12 @@ typedef struct pj_stun_binary_attr pj_stun_attr_hdr hdr; /** + * Special signature to indicate that this is a valid attribute even + * though we don't have meta-data to describe this attribute. + */ + pj_uint32_t magic; + + /** * Length of the data. */ unsigned length; |