aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248_q1950.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-07-24 13:05:25 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-07-24 13:05:25 +0000
commiteceff8e0d43a81fe9b7e3f37af81384e5464ff41 (patch)
treef522524e9398112b411a92287d228d917832a007 /epan/dissectors/packet-h248_q1950.c
parente83a8e4eeed5709298fa174633f7d1cee7a7322e (diff)
H.248 cannot interpret value of Package 0x0022, Parameter 1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7519 svn path=/trunk/; revision=43958
Diffstat (limited to 'epan/dissectors/packet-h248_q1950.c')
-rw-r--r--epan/dissectors/packet-h248_q1950.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/epan/dissectors/packet-h248_q1950.c b/epan/dissectors/packet-h248_q1950.c
index a90b83abef..d23b4bc54d 100644
--- a/epan/dissectors/packet-h248_q1950.c
+++ b/epan/dissectors/packet-h248_q1950.c
@@ -319,14 +319,14 @@ static const value_string h248_pkg_bt_props_vals[] = {
{ 0, NULL}
};
-static const value_string h248_pkg_bt_tunopt_vals[] _U_ = {
+static const value_string h248_pkg_bt_tunopt_vals[] = {
{ 1, "1 (In the same message as the command response to the command which generated the bearer control tunnel)"},
{ 2, "2 (Tunnel message at any time)"},
{ 3, "NO"},
{ 0, NULL}
};
-static const h248_pkg_param_t h248_pkg_bt_props[] _U_ = {
+static const h248_pkg_param_t h248_pkg_bt_props[] = {
{ 0x0001, &hf_h248_pkg_bt_tunopt, h248_param_ber_integer, &implicit },
{ 0, NULL, NULL, NULL}
};
@@ -371,8 +371,8 @@ static h248_package_t h248_pkg_bct = {
h248_pkg_bt_sigs_vals,
h248_pkg_bt_evt_vals,
NULL,
- NULL, /* Properties */
- h248_pkg_bt_signals, /* signals */
+ h248_pkg_bt_props, /* Properties */
+ h248_pkg_bt_signals, /* signals */
h248_pkg_bt_events, /* events */
NULL /* statistics */
};
@@ -530,13 +530,14 @@ void proto_register_q1950(void) {
FT_UINT32, BASE_HEX, VALS(h248_pkg_RII_vals), 0, "This property indicates that the provided bearer network connection relates to an Idle Bearer.", HFILL }
},
+ /* A.7 Bearer control tunnelling package */
{ &hf_h248_pkg_bt,
{ "BT (Bearer control Tunneling)", "h248.pkg.BT",
FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }
},
{ &hf_h248_pkg_bt_tunopt,
{ "Tunnelling Options", "h248.pkg.BT.TunOpt",
- FT_UINT32, BASE_HEX, NULL, 0, NULL, HFILL }
+ FT_UINT32, BASE_DEC, VALS(h248_pkg_bt_tunopt_vals), 0, NULL, HFILL }
},
{ &hf_h248_pkg_bt_tind,
{ "tind (Tunnel INDication)", "h248.pkg.BT.TIND",