diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-03 21:12:41 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-03 21:12:41 +0000 |
commit | d79bf700ae1a6a826d722cc7554810596319ca57 (patch) | |
tree | da8a88c5d9af354d171e9363d4d598b1d9f5ae4e /epan/dissectors/packet-gsm_a_dtap.c | |
parent | f09d378d3d5392bf86f5430681619d04953bee6b (diff) |
From Gerasimos Dimitriadis:
Added decoding support for the High Layer Compatibility IE in DTAP and updated
the relevant part in Q.931. Also some minor enhancements in Q.931.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29280 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_dtap.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_dtap.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_dtap.c b/epan/dissectors/packet-gsm_a_dtap.c index 864c037ab1..68864be749 100644 --- a/epan/dissectors/packet-gsm_a_dtap.c +++ b/epan/dissectors/packet-gsm_a_dtap.c @@ -2708,6 +2708,18 @@ de_facility(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint fac_len, gcha /* * 10.5.4.16 High layer compatibility */ +static guint16 +de_hlc(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_string _U_, int string_len _U_) +{ + guint32 curr_offset; + + curr_offset = offset; + + dissect_q931_high_layer_compat_ie(tvb, offset, len, tree); + + curr_offset = curr_offset + len; + return(curr_offset - offset); +} /* * [3] 10.5.4.17 Keypad facility @@ -3687,7 +3699,7 @@ guint16 (*dtap_elem_fcn[])(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guin NULL, /* Connected Number */ NULL, /* Connected Subaddress */ de_facility, /* Facility */ - NULL, /* High Layer Compatibility */ + de_hlc, /* High Layer Compatibility */ de_keypad_facility, /* Keypad Facility */ de_llc, /* 10.5.4.18 Low layer compatibility */ NULL, /* More Data */ |