aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_dtap.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-04-05 20:50:24 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-04-05 20:50:24 +0000
commit00b3acf9c5e92b3b788171af4ac5810aa4a11187 (patch)
treed4208e4110c83c7e33f0e2a34e665d1026f34a14 /epan/dissectors/packet-gsm_a_dtap.c
parent2603ad7e44e1f1f81ee7c26208529b2509a5c9ce (diff)
Highlight the correct byte for Timezone
svn path=/trunk/; revision=48751
Diffstat (limited to 'epan/dissectors/packet-gsm_a_dtap.c')
-rw-r--r--epan/dissectors/packet-gsm_a_dtap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_a_dtap.c b/epan/dissectors/packet-gsm_a_dtap.c
index e89f98a405..a28ce2a817 100644
--- a/epan/dissectors/packet-gsm_a_dtap.c
+++ b/epan/dissectors/packet-gsm_a_dtap.c
@@ -872,7 +872,7 @@ de_time_zone(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 of
oct = (oct >> 4) + (oct & 0x07) * 10;
proto_tree_add_text(tree,
- tvb, offset, 1,
+ tvb, curr_offset, 1,
"Timezone: GMT %c %d hours %d minutes",
sign, oct / 4, oct % 4 * 15);
curr_offset++;
@@ -940,7 +940,7 @@ de_time_zone_time(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint
oct = (oct >> 4) + (oct & 0x07) * 10;
proto_tree_add_text(tree,
- tvb, offset, 1,
+ tvb, curr_offset, 1,
"Timezone: GMT %c %d hours %d minutes",
sign, oct / 4, oct % 4 * 15);