diff options
Diffstat (limited to 'asn1/ftam/packet-ftam-template.c')
-rw-r--r-- | asn1/ftam/packet-ftam-template.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/asn1/ftam/packet-ftam-template.c b/asn1/ftam/packet-ftam-template.c index 66d33238ef..5a5fe32280 100644 --- a/asn1/ftam/packet-ftam-template.c +++ b/asn1/ftam/packet-ftam-template.c @@ -35,6 +35,7 @@ #include <glib.h> #include <epan/packet.h> #include <epan/conversation.h> +#include <epan/oid_resolv.h> #include <stdio.h> #include <string.h> @@ -126,22 +127,22 @@ void proto_reg_handoff_ftam(void) { register_ber_oid_dissector("1.3.14.5.2.2", dissect_ftam, proto_ftam,"NIST file directory entry abstract syntax"); /* Unstructured text file document type FTAM-1 */ - register_ber_oid_name("1.0.8571.5.1","ISO FTAM unstructured text"); - register_ber_oid_name("1.0.8571.5.2","ISO FTAM sequential text"); - register_ber_oid_name("1.0.8571.2.3","FTAM unstructured text abstract syntax"); - register_ber_oid_name("1.0.8571.2.4","FTAM sequential text abstract syntax"); - register_ber_oid_name("1.0.8571.2.5","FTAM simple-hierarchy"); - register_ber_oid_name("1.0.8571.3.1","FTAM hierarchical file model"); - register_ber_oid_name("1.0.8571.4.1","FTAM unstructured constraint set"); + add_oid_str_name("1.0.8571.5.1","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.4","FTAM sequential 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"); /* Unstructured text file document type FTAM-3 */ - register_ber_oid_name("1.0.8571.5.3","ISO FTAM unstructured binary"); - register_ber_oid_name("1.0.8571.2.4","FTAM unstructured binary abstract syntax"); + add_oid_str_name("1.0.8571.5.3","ISO FTAM unstructured binary"); + add_oid_str_name("1.0.8571.2.4","FTAM unstructured binary abstract syntax"); /* Filedirectory file document type NBS-9 */ - register_ber_oid_name("1.3.14.5.5.9","NBS-9 FTAM file directory file"); + add_oid_str_name("1.3.14.5.5.9","NBS-9 FTAM file directory file"); /* Filedirectory file document type NBS-9 (WITH OLD NIST OIDs)*/ - register_ber_oid_name("1.3.9999.1.5.9","NBS-9-OLD FTAM file directory file"); - register_ber_oid_name("1.3.9999.1.2.2","NIST file directory entry abstract syntax"); + 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"); } |