summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/lppa/lppa.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/asn1/lppa/lppa.cnf')
-rw-r--r--epan/dissectors/asn1/lppa/lppa.cnf9
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/asn1/lppa/lppa.cnf b/epan/dissectors/asn1/lppa/lppa.cnf
index a0a4381c..15c20f3e 100644
--- a/epan/dissectors/asn1/lppa/lppa.cnf
+++ b/epan/dissectors/asn1/lppa/lppa.cnf
@@ -1,6 +1,6 @@
# lppa.cnf
# llpa conformation file
-# Copyright 2011-2020 Pascal Quantin
+# Copyright 2011-2024 Pascal Quantin
#.OPT
PER
@@ -39,7 +39,8 @@ ProtocolExtensionField/id ext_id
#.FN_FTR ProtocolIE-ID
if (tree) {
- proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str(lppa_data->protocol_ie_id, VALS(lppa_ProtocolIE_ID_vals), "unknown (%d)"));
+ proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s",
+ val_to_str(lppa_data->protocol_ie_id, VALS(lppa_ProtocolIE_ID_vals), "unknown (%d)"));
}
#.END
@@ -49,8 +50,8 @@ ProtocolExtensionField/id ext_id
%(DEFAULT_BODY)s
col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%%s ",
- val_to_str(lppa_data->procedure_code, lppa_ProcedureCode_vals,
- "unknown message"));
+ val_to_str_const(lppa_data->procedure_code, lppa_ProcedureCode_vals,
+ "unknown message"));
#.END
#.FN_PARS ProtocolIE-Field/value FN_VARIANT=_pdu_new TYPE_REF_FN=dissect_ProtocolIEFieldValue