diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-11-28 21:59:02 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-11-28 21:59:02 +0000 |
commit | 37660f413b4839b75e1f7926ae4a10b3d7688d15 (patch) | |
tree | a9c65129dda64187fa4de26ca6ed77e7af5551a3 /epan/dissectors/packet-gsm_sms.h | |
parent | 710feed2e01326cd37c4d981fb42456bf31afa9f (diff) |
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9478 :
GSM SMS User Data header fill bits are wrong when using a 7 bits ASCII / IA5 encoding
svn path=/trunk/; revision=53631
Diffstat (limited to 'epan/dissectors/packet-gsm_sms.h')
-rw-r--r-- | epan/dissectors/packet-gsm_sms.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_sms.h b/epan/dissectors/packet-gsm_sms.h index 6836ac76f7..edb385a385 100644 --- a/epan/dissectors/packet-gsm_sms.h +++ b/epan/dissectors/packet-gsm_sms.h @@ -49,5 +49,11 @@ extern int gsm_sms_char_7bit_unpack(unsigned int offset, unsigned int in_length, extern gchar *gsm_sms_chars_to_utf8(const unsigned char* src, int len); +enum character_set { + OTHER, + GSM_7BITS, + ASCII_7BITS +}; + void dis_field_udh(tvbuff_t *tvb, proto_tree *tree, guint32 *offset, guint32 *length, - guint8 *udl, gboolean uncomp_7bits, guint8 *fill_bits); + guint8 *udl, enum character_set cset, guint8 *fill_bits); |