diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-03-30 12:43:21 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-03-30 12:43:21 +0000 |
commit | 33b3ab923c8732586061013017dc524d8d895d85 (patch) | |
tree | 168370b8259d9dc6e97e409a219a4fcbcd66bc8f /epan/dissectors/packet-e212.c | |
parent | 68283424ef004a17df053daf6f32b4b6c859f6f1 (diff) |
From yin sun:
In packet-e212.c function dissect_e212_mcc_mnc mnc is added twice.
the correction should be: mnc = 10 * mnc + mnc3;
svn path=/trunk/; revision=24759
Diffstat (limited to 'epan/dissectors/packet-e212.c')
-rw-r--r-- | epan/dissectors/packet-e212.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-e212.c b/epan/dissectors/packet-e212.c index 887ddfde16..30ed1db7ed 100644 --- a/epan/dissectors/packet-e212.c +++ b/epan/dissectors/packet-e212.c @@ -306,7 +306,7 @@ dissect_e212_mcc_mnc(tvbuff_t *tvb, proto_tree *tree, int offset){ mcc = 100 * mcc1 + 10 * mcc2 + mcc3; mnc = 10 * mnc1 + mnc2; if (mnc3 != 0xf) { - mnc += 10 * mnc + mnc3; + mnc = 10 * mnc + mnc3; } proto_tree_add_uint(tree, hf_E212_mcc , tvb, start_offset, 2, mcc ); proto_tree_add_uint(tree, hf_E212_mnc , tvb, start_offset + 1, 2, mnc ); |