aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ftam/packet-ftam-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/ftam/packet-ftam-template.c')
-rw-r--r--asn1/ftam/packet-ftam-template.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/asn1/ftam/packet-ftam-template.c b/asn1/ftam/packet-ftam-template.c
index 155a0edbcc..11cfdedeb1 100644
--- a/asn1/ftam/packet-ftam-template.c
+++ b/asn1/ftam/packet-ftam-template.c
@@ -158,20 +158,20 @@ void proto_reg_handoff_ftam(void) {
/* Unstructured text file document type FTAM-1 */
register_ber_oid_dissector("1.0.8571.5.1", dissect_ftam_unstructured_text, proto_ftam,"ISO FTAM unstructured text");
- add_oid_str_name("1.0.8571.5.2","ISO FTAM sequential text");
- add_oid_str_name("1.0.8571.2.3","FTAM unstructured text abstract syntax");
- add_oid_str_name("1.0.8571.2.5","FTAM simple-hierarchy");
- add_oid_str_name("1.0.8571.3.1","FTAM hierarchical file model");
- add_oid_str_name("1.0.8571.4.1","FTAM unstructured constraint set");
+ oid_add_from_string("ISO FTAM sequential text","1.0.8571.5.2");
+ oid_add_from_string("FTAM unstructured text abstract syntax","1.0.8571.2.3");
+ oid_add_from_string("FTAM simple-hierarchy","1.0.8571.2.5");
+ oid_add_from_string("FTAM hierarchical file model","1.0.8571.3.1");
+ oid_add_from_string("FTAM unstructured constraint set","1.0.8571.4.1");
/* Unstructured binary file document type FTAM-3 */
register_ber_oid_dissector("1.0.8571.5.3", dissect_ftam_unstructured_binary, proto_ftam,"ISO FTAM unstructured binary");
- add_oid_str_name("1.0.8571.2.4","FTAM unstructured binary abstract syntax");
+ oid_add_from_string("FTAM unstructured binary abstract syntax","1.0.8571.2.4");
/* Filedirectory file document type NBS-9 */
- add_oid_str_name("1.3.14.5.5.9","NBS-9 FTAM file directory file");
+ oid_add_from_string("NBS-9 FTAM file directory file","1.3.14.5.5.9");
/* Filedirectory file document type NBS-9 (WITH OLD NIST OIDs)*/
- add_oid_str_name("1.3.9999.1.5.9","NBS-9-OLD FTAM file directory file");
- add_oid_str_name("1.3.9999.1.2.2","NIST file directory entry abstract syntax");
+ oid_add_from_string("NBS-9-OLD FTAM file directory file","1.3.9999.1.5.9");
+ oid_add_from_string("NIST file directory entry abstract syntax","1.3.9999.1.2.2");
}