aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h245
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/h245')
-rw-r--r--asn1/h245/h245.cnf8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf
index 1232c02b86..b63be68e3d 100644
--- a/asn1/h245/h245.cnf
+++ b/asn1/h245/h245.cnf
@@ -790,7 +790,7 @@ if (h245_pi != NULL)
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = (guint8 *)wmem_new(actx->pinfo->pool, guint16);
- phtons(buf, value);
+ phton16(buf, value);
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(guint16), sizeof(guint16));
/* DEBUG */ /*proto_tree_add_text(tree, tvb, offset>>3, 0, "*** DEBUG dissector_try_string: %%s", gefx->key);*/
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsignedMin");
@@ -807,7 +807,7 @@ if (h245_pi != NULL)
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = (guint8 *)wmem_new(actx->pinfo->pool, guint16);
- phtons(buf, value);
+ phton16(buf, value);
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(guint16), sizeof(guint16));
/* DEBUG */ /*proto_tree_add_text(tree, tvb, offset>>3, 0, "*** DEBUG dissector_try_string: %%s", gefx->key);*/
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsignedMax");
@@ -824,7 +824,7 @@ if (h245_pi != NULL)
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = (guint8 *)wmem_new(actx->pinfo->pool, guint32);
- phtonl(buf, value);
+ phton32(buf, value);
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(guint32), sizeof(guint32));
/* DEBUG */ /*proto_tree_add_text(tree, tvb, offset>>3, 0, "*** DEBUG dissector_try_string: %%s", gefx->key);*/
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsigned32Min");
@@ -841,7 +841,7 @@ if (h245_pi != NULL)
gefx = gef_ctx_get(actx->private_data);
if (gefx) {
buf = (guint8 *)wmem_new(actx->pinfo->pool, guint32);
- phtonl(buf, value);
+ phton32(buf, value);
value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(guint32), sizeof(guint32));
/* DEBUG */ /*proto_tree_add_text(tree, tvb, offset>>3, 0, "*** DEBUG dissector_try_string: %%s", gefx->key);*/
add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsigned32Max");