aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rp.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-01-22 23:25:44 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-01-22 23:25:44 +0000
commitae61fe0158bd3afc2cfc034e81199cc7a39c2585 (patch)
treece35fff927c36939e98b12adf1ab81e1d05c54a2 /epan/dissectors/packet-gsm_a_rp.c
parent6e1c54c8fd2ffad18de05a839cebcf07613c5e5b (diff)
Try to fix dissection of GSM protocol family broken by r47209.
Using val_to_str seemed to be a good idea, but most value_string arrays were not properly filled or were using hacks. (I hope I got everything right...) svn path=/trunk/; revision=47218
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rp.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_a_rp.c b/epan/dissectors/packet-gsm_a_rp.c
index 963e65f600..7c3ab70754 100644
--- a/epan/dissectors/packet-gsm_a_rp.c
+++ b/epan/dissectors/packet-gsm_a_rp.c
@@ -58,10 +58,10 @@ static const value_string gsm_rp_msg_strings[] = {
const value_string gsm_rp_elem_strings[] = {
/* Short Message Service RP Information Elements [5] 8.2 */
{ 0x00, "RP-Message Reference" },
- { 0x00, "RP-Originator Address" },
- { 0x00, "RP-Destination Address" },
- { 0x00, "RP-User Data" },
- { 0x00, "RP-Cause" },
+ { 0x01, "RP-Originator Address" },
+ { 0x02, "RP-Destination Address" },
+ { 0x03, "RP-User Data" },
+ { 0x04, "RP-Cause" },
{ 0, NULL }
};