Use oid_add_from_string for adding names.
authorAnders Broman <anders.broman@ericsson.com>
Wed, 31 Oct 2007 08:26:52 +0000 (08:26 -0000)
committerAnders Broman <anders.broman@ericsson.com>
Wed, 31 Oct 2007 08:26:52 +0000 (08:26 -0000)
svn path=/trunk/; revision=23318

asn1/acse/packet-acse-template.c
asn1/cmip/packet-cmip-template.c
asn1/cms/packet-cms-template.c
asn1/disp/packet-disp-template.c
epan/dissectors/packet-acse.c
epan/dissectors/packet-acse.h
epan/dissectors/packet-cmip.c
epan/dissectors/packet-cmip.h
epan/dissectors/packet-cms.c
epan/dissectors/packet-cms.h
epan/dissectors/packet-disp.c

index aeb2b6ee6a83d96e1b927eb89edf3e38a79ad8c4..984e488cf47a7227b329ea9bcbd4c6ab71dd251d 100644 (file)
@@ -272,7 +272,7 @@ void proto_register_acse(void) {
 void proto_reg_handoff_acse(void) {
 /*#include "packet-acse-dis-tab.c"*/
 
-       add_oid_str_name("2.2.3.1.1","aCSE-id");
+       oid_add_from_string("aCSE-id","2.2.3.1.1");
        register_ber_oid_dissector(ACSE_APDU_OID, dissect_acse, proto_acse, "acse-as-id");
 
 
index 9fc6cb1d5e806e0b742e5c9a61b7ad5a682bb220..fb91f449e88b5918e9a158862d8fad0d629d653c 100644 (file)
@@ -206,7 +206,7 @@ void proto_register_cmip(void) {
   proto_register_field_array(proto_cmip, hf, array_length(hf));
   proto_register_subtree_array(ett, array_length(ett));
 #include "packet-cmip-dis-tab.c"
-    add_oid_str_name("2.9.3.2.7.1","discriminatorId(1)");
+    oid_add_from_string("discriminatorId(1)","2.9.3.2.7.1");
 
 }
 
@@ -216,22 +216,22 @@ void proto_reg_handoff_cmip(void) {
        register_ber_oid_dissector("2.9.0.0.2", dissect_cmip, proto_cmip, "cmip");
        register_ber_oid_dissector("2.9.1.1.4", dissect_cmip, proto_cmip, "joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
 
-       add_oid_str_name("2.9.3.2.3.1","managedObjectClass(3) alarmRecord(1)");  
-       add_oid_str_name("2.9.3.2.3.2","managedObjectClass(3) attributeValueChangeRecord(2)");
-       add_oid_str_name("2.9.3.2.3.3","managedObjectClass(3) discriminator(3)");
-       add_oid_str_name("2.9.3.2.3.4","managedObjectClass(3) eventForwardingDiscriminator(4)");
-       add_oid_str_name("2.9.3.2.3.5","managedObjectClass(3) eventLogRecord(5)");
-       add_oid_str_name("2.9.3.2.3.6","managedObjectClass(3) log(6)");
-       add_oid_str_name("2.9.3.2.3.7","managedObjectClass(3) logRecord(7)");
-       add_oid_str_name("2.9.3.2.3.8","managedObjectClass(3) objectCreationRecord(8)");
-       add_oid_str_name("2.9.3.2.3.9","managedObjectClass(3) objectDeletionRecord(9)");
-       add_oid_str_name("2.9.3.2.3.10","managedObjectClass(3) relationshipChangeRecord(10)");
-       add_oid_str_name("2.9.3.2.3.11","managedObjectClass(3) securityAlarmReportRecord(11)");
-       add_oid_str_name("2.9.3.2.3.12","managedObjectClass(3) stateChangeRecord(12)");
-       add_oid_str_name("2.9.3.2.3.13","managedObjectClass(3) system(13)");
-       add_oid_str_name("2.9.3.2.3.14","managedObjectClass(3) top(14)");
-       add_oid_str_name("2.9.3.2.4.14","administrativeStatePackage(14)");
-       add_oid_str_name("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
+       oid_add_from_string("2.9.3.2.3.1","managedObjectClass(3) alarmRecord(1)");  
+       oid_add_from_string("2.9.3.2.3.2","managedObjectClass(3) attributeValueChangeRecord(2)");
+       oid_add_from_string("2.9.3.2.3.3","managedObjectClass(3) discriminator(3)");
+       oid_add_from_string("2.9.3.2.3.4","managedObjectClass(3) eventForwardingDiscriminator(4)");
+       oid_add_from_string("2.9.3.2.3.5","managedObjectClass(3) eventLogRecord(5)");
+       oid_add_from_string("2.9.3.2.3.6","managedObjectClass(3) log(6)");
+       oid_add_from_string("2.9.3.2.3.7","managedObjectClass(3) logRecord(7)");
+       oid_add_from_string("2.9.3.2.3.8","managedObjectClass(3) objectCreationRecord(8)");
+       oid_add_from_string("2.9.3.2.3.9","managedObjectClass(3) objectDeletionRecord(9)");
+       oid_add_from_string("2.9.3.2.3.10","managedObjectClass(3) relationshipChangeRecord(10)");
+       oid_add_from_string("2.9.3.2.3.11","managedObjectClass(3) securityAlarmReportRecord(11)");
+       oid_add_from_string("2.9.3.2.3.12","managedObjectClass(3) stateChangeRecord(12)");
+       oid_add_from_string("2.9.3.2.3.13","managedObjectClass(3) system(13)");
+       oid_add_from_string("2.9.3.2.3.14","managedObjectClass(3) top(14)");
+       oid_add_from_string("2.9.3.2.4.14","administrativeStatePackage(14)");
+       oid_add_from_string("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
 
 /*#include "packet-cmip-dis-tab.c" */
 }
index 571d7e4ad36d97225c7b4ae1f496ec1deac23b8d..ee82ee539ad5757fa2a1487f0748c3fd1b658a25 100644 (file)
@@ -172,9 +172,9 @@ void proto_register_cms(void) {
 void proto_reg_handoff_cms(void) {
 #include "packet-cms-dis-tab.c"
 
-  add_oid_str_name("1.2.840.113549.1.7.1", "id-data");
-  add_oid_str_name("1.2.840.113549.3.7", "id-alg-des-ede3-cbc");
-  add_oid_str_name("1.3.14.3.2.7", "id-alg-des-cbc");
+  oid_add_from_string("id-data","1.2.840.113549.1.7.1");
+  oid_add_from_string("id-alg-des-ede3-cbc","1.2.840.113549.3.7");
+  oid_add_from_string("id-alg-des-cbc","1.3.14.3.2.7");
 
 }
 
index f4d84fa4d1d30f1ff23e8a3b9ea2fb98952d7adf..3dac6aef1bd5036e0bbe21c9d862019f9f820fc0 100644 (file)
@@ -247,10 +247,10 @@ void proto_reg_handoff_disp(void) {
 
   /* APPLICATION CONTEXT */
 
-  add_oid_str_name("2.5.3.4", "id-ac-shadow-consumer-initiated");
-  add_oid_str_name("2.5.3.5", "id-ac-shadow-supplier-initiated");
-  add_oid_str_name("2.5.3.6", "id-ac-reliable-shadow-consumer-initiated");
-  add_oid_str_name("2.5.3.7", "id-ac-reliable-shadow-supplier-initiated");
+  oid_add_from_string("id-ac-shadow-consumer-initiated","2.5.3.4");
+  oid_add_from_string("id-ac-shadow-supplier-initiated","2.5.3.5");
+  oid_add_from_string("id-ac-reliable-shadow-consumer-initiated","2.5.3.6");
+  oid_add_from_string("id-ac-reliable-shadow-supplier-initiated","2.5.3.7");
 
   /* ABSTRACT SYNTAXES */
 
@@ -263,7 +263,7 @@ void proto_reg_handoff_disp(void) {
   } 
 
   /* OPERATIONAL BINDING */
-  add_oid_str_name("2.5.1.0.5.1", "id-op-binding-shadow");
+  oid_add_from_string("id-op-binding-shadow","2.5.1.0.5.1");
 
   tpkt_handle = find_dissector("tpkt");
 
index 096d08b1eb762c3a7fc1e5c09d3158d4ef76979b..9861fd8182da04965ed0e2dd103dc8d88f71b034 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
-/* ./packet-acse.c                                                            */
+/* packet-acse.c                                                              */
 /* ../../tools/asn2wrs.py -b -e -p acse -c acse.cnf -s packet-acse-template acse.asn */
 
 /* Input file: packet-acse-template.c */
@@ -2495,7 +2495,7 @@ void proto_register_acse(void) {
 void proto_reg_handoff_acse(void) {
 /*#include "packet-acse-dis-tab.c"*/
 
-       add_oid_str_name("2.2.3.1.1","aCSE-id");
+       oid_add_from_string("aCSE-id","2.2.3.1.1");
        register_ber_oid_dissector(ACSE_APDU_OID, dissect_acse, proto_acse, "acse-as-id");
 
 
index 45586a844e7c356d33fad13c0e694182540542da..5bc4693709c2a99a8c5799b64f8cf0c934d963b8 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
-/* ./packet-acse.h                                                            */
+/* packet-acse.h                                                              */
 /* ../../tools/asn2wrs.py -b -e -p acse -c acse.cnf -s packet-acse-template acse.asn */
 
 /* Input file: packet-acse-template.h */
index 3312be8b0763aa8e293ed29307ca7bb6fa8eb19c..cb10500c9248b4a6fc0bb3b6ea30a0762dcf075c 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
-/* ./packet-cmip.c                                                            */
+/* packet-cmip.c                                                              */
 /* ../../tools/asn2wrs.py -b -e -p cmip -c cmip.cnf -s packet-cmip-template CMIP-1.asn CMIP-A-ABORT-Information.asn CMIP-A-ASSOCIATE-Information.asn ../x721/Attribute-ASN1Module.asn ../ros/Remote-Operations-Information-Objects.asn ../ros/Remote-Operations-Generic-ROS-PDUs.asn */
 
 /* Input file: packet-cmip-template.c */
@@ -2609,7 +2609,7 @@ int
 dissect_cmip_CMIPAbortInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
 #line 222 "cmip.cnf"
   if(check_col(actx->pinfo->cinfo, COL_INFO)){
-    col_append_fstr(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ABORT");
+    col_append_str(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ABORT");
   }
 
   offset = dissect_ber_old_sequence(implicit_tag, actx, tree, tvb, offset,
@@ -2672,7 +2672,7 @@ int
 dissect_cmip_CMIPUserInfo(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
 #line 228 "cmip.cnf"
   if(check_col(actx->pinfo->cinfo, COL_INFO)){
-    col_append_fstr(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ASSOCIATE");
+    col_append_str(actx->pinfo->cinfo, COL_INFO, "CMIP-A-ASSOCIATE");
   }
 
   offset = dissect_ber_old_sequence(implicit_tag, actx, tree, tvb, offset,
@@ -6428,7 +6428,7 @@ void proto_register_cmip(void) {
 
 /*--- End of included file: packet-cmip-dis-tab.c ---*/
 #line 209 "packet-cmip-template.c"
-    add_oid_str_name("2.9.3.2.7.1","discriminatorId(1) ");
+    oid_add_from_string("discriminatorId(1)","2.9.3.2.7.1");
 
 }
 
@@ -6438,22 +6438,22 @@ void proto_reg_handoff_cmip(void) {
        register_ber_oid_dissector("2.9.0.0.2", dissect_cmip, proto_cmip, "cmip");
        register_ber_oid_dissector("2.9.1.1.4", dissect_cmip, proto_cmip, "joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
 
-       add_oid_str_name("2.9.3.2.3.1","managedObjectClass(3) alarmRecord(1)");  
-       add_oid_str_name("2.9.3.2.3.2","managedObjectClass(3) attributeValueChangeRecord(2)");
-       add_oid_str_name("2.9.3.2.3.3","managedObjectClass(3) discriminator(3)");
-       add_oid_str_name("2.9.3.2.3.4","managedObjectClass(3) eventForwardingDiscriminator(4)");
-       add_oid_str_name("2.9.3.2.3.5","managedObjectClass(3) eventLogRecord(5)");
-       add_oid_str_name("2.9.3.2.3.6","managedObjectClass(3) log(6)");
-       add_oid_str_name("2.9.3.2.3.7","managedObjectClass(3) logRecord(7)");
-       add_oid_str_name("2.9.3.2.3.8","managedObjectClass(3) objectCreationRecord(8)");
-       add_oid_str_name("2.9.3.2.3.9","managedObjectClass(3) objectDeletionRecord(9)");
-       add_oid_str_name("2.9.3.2.3.10","managedObjectClass(3) relationshipChangeRecord(10)");
-       add_oid_str_name("2.9.3.2.3.11","managedObjectClass(3) securityAlarmReportRecord(11)");
-       add_oid_str_name("2.9.3.2.3.12","managedObjectClass(3) stateChangeRecord(12)");
-       add_oid_str_name("2.9.3.2.3.13","managedObjectClass(3) system(13)");
-       add_oid_str_name("2.9.3.2.3.14","managedObjectClass(3) top(14)");
-       add_oid_str_name("2.9.3.2.4.14","administrativeStatePackage(14)");
-       add_oid_str_name("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
+       oid_add_from_string("2.9.3.2.3.1","managedObjectClass(3) alarmRecord(1)");  
+       oid_add_from_string("2.9.3.2.3.2","managedObjectClass(3) attributeValueChangeRecord(2)");
+       oid_add_from_string("2.9.3.2.3.3","managedObjectClass(3) discriminator(3)");
+       oid_add_from_string("2.9.3.2.3.4","managedObjectClass(3) eventForwardingDiscriminator(4)");
+       oid_add_from_string("2.9.3.2.3.5","managedObjectClass(3) eventLogRecord(5)");
+       oid_add_from_string("2.9.3.2.3.6","managedObjectClass(3) log(6)");
+       oid_add_from_string("2.9.3.2.3.7","managedObjectClass(3) logRecord(7)");
+       oid_add_from_string("2.9.3.2.3.8","managedObjectClass(3) objectCreationRecord(8)");
+       oid_add_from_string("2.9.3.2.3.9","managedObjectClass(3) objectDeletionRecord(9)");
+       oid_add_from_string("2.9.3.2.3.10","managedObjectClass(3) relationshipChangeRecord(10)");
+       oid_add_from_string("2.9.3.2.3.11","managedObjectClass(3) securityAlarmReportRecord(11)");
+       oid_add_from_string("2.9.3.2.3.12","managedObjectClass(3) stateChangeRecord(12)");
+       oid_add_from_string("2.9.3.2.3.13","managedObjectClass(3) system(13)");
+       oid_add_from_string("2.9.3.2.3.14","managedObjectClass(3) top(14)");
+       oid_add_from_string("2.9.3.2.4.14","administrativeStatePackage(14)");
+       oid_add_from_string("2.9.1.1.4","joint-iso-itu-t(2) ms(9) cmip(1) cmip-pci(1) abstractSyntax(4)");
 
 /*#include "packet-cmip-dis-tab.c" */
 }
index f35ebb660473ff3b10fdfe0a9a4d1a785bb6354c..ab3276de76823799b7c1929e620664127a741067 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
-/* ./packet-cmip.h                                                            */
+/* packet-cmip.h                                                              */
 /* ../../tools/asn2wrs.py -b -e -p cmip -c cmip.cnf -s packet-cmip-template CMIP-1.asn CMIP-A-ABORT-Information.asn CMIP-A-ASSOCIATE-Information.asn ../x721/Attribute-ASN1Module.asn ../ros/Remote-Operations-Information-Objects.asn ../ros/Remote-Operations-Generic-ROS-PDUs.asn */
 
 /* Input file: packet-cmip-template.h */
index fbfd0688d0698198a4ee4b8f4b1a657d8ce9d8f5..5e90d787d727a3dbd2f44365af9228281682e8a2 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
-/* ./packet-cms.c                                                             */
+/* packet-cms.c                                                               */
 /* ../../tools/asn2wrs.py -b -X -T -e -p cms -c cms.cnf -s packet-cms-template CryptographicMessageSyntax.asn */
 
 /* Input file: packet-cms-template.c */
@@ -2125,9 +2125,9 @@ void proto_reg_handoff_cms(void) {
 /*--- End of included file: packet-cms-dis-tab.c ---*/
 #line 174 "packet-cms-template.c"
 
-  add_oid_str_name("1.2.840.113549.1.7.1", "id-data");
-  add_oid_str_name("1.2.840.113549.3.7", "id-alg-des-ede3-cbc");
-  add_oid_str_name("1.3.14.3.2.7", "id-alg-des-cbc");
+  oid_add_from_string("id-data","1.2.840.113549.1.7.1");
+  oid_add_from_string("id-alg-des-ede3-cbc","1.2.840.113549.3.7");
+  oid_add_from_string("id-alg-des-cbc","1.3.14.3.2.7");
 
 }
 
index 823c34582e1061c61763e323ca1e30426fc71127..f99a3cb9d6e4e3cd7b7feb35a756dadd414afbd3 100644 (file)
@@ -1,6 +1,6 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
-/* ./packet-cms.h                                                             */
+/* packet-cms.h                                                               */
 /* ../../tools/asn2wrs.py -b -X -T -e -p cms -c cms.cnf -s packet-cms-template CryptographicMessageSyntax.asn */
 
 /* Input file: packet-cms-template.h */
index 6cb951ef8f3339ee1c2c2be3401f1224cd6d89de..0c2953b18a0657d3712cdecb45c70b0df5123491 100644 (file)
@@ -519,7 +519,7 @@ static const ber_sequence_t UnitOfReplication_sequence[] = {
   { &hf_disp_replication_attributes, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_NOOWNTAG, dissect_disp_AttributeSelection },
   { &hf_disp_knowledge      , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_disp_Knowledge },
   { &hf_disp_subordinates   , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_disp_BOOLEAN },
-  { &hf_disp_contextSelection, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dap_ContextSelection },
+  { &hf_disp_contextSelection, -1 /*imported*/, -1 /*imported*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dap_ContextSelection },
   { &hf_disp_supplyContexts , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_disp_T_supplyContexts },
   { NULL, 0, 0, 0, NULL }
 };
@@ -706,7 +706,7 @@ static const ber_sequence_t CoordinateShadowUpdateArgumentData_sequence[] = {
   { &hf_disp_agreementID    , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_disp_AgreementID },
   { &hf_disp_lastUpdate     , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_disp_Time },
   { &hf_disp_updateStrategy , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_disp_T_updateStrategy },
-  { &hf_disp_securityParameters, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dap_SecurityParameters },
+  { &hf_disp_securityParameters, -1 /*imported*/, -1 /*imported*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dap_SecurityParameters },
   { NULL, 0, 0, 0, NULL }
 };
 
@@ -922,7 +922,7 @@ static const ber_sequence_t RequestShadowUpdateArgumentData_sequence[] = {
   { &hf_disp_agreementID    , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_NOOWNTAG, dissect_disp_AgreementID },
   { &hf_disp_lastUpdate     , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_disp_Time },
   { &hf_disp_requestedStrategy, BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_disp_T_requestedStrategy },
-  { &hf_disp_securityParameters, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dap_SecurityParameters },
+  { &hf_disp_securityParameters, -1 /*imported*/, -1 /*imported*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dap_SecurityParameters },
   { NULL, 0, 0, 0, NULL }
 };
 
@@ -1140,7 +1140,7 @@ dissect_disp_T_rename(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _
 
 
 static const ber_sequence_t SEQUENCE_OF_EntryModification_sequence_of[1] = {
-  { &hf_disp_changes_item   , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_dap_EntryModification },
+  { &hf_disp_changes_item   , -1 /*imported*/, -1 /*imported*/, BER_FLAGS_NOOWNTAG, dissect_dap_EntryModification },
 };
 
 static int
@@ -1314,7 +1314,7 @@ static const ber_sequence_t UpdateShadowArgumentData_sequence[] = {
   { &hf_disp_updateTime     , BER_CLASS_UNI, BER_UNI_TAG_GeneralizedTime, BER_FLAGS_NOOWNTAG, dissect_disp_Time },
   { &hf_disp_updateWindow   , BER_CLASS_UNI, BER_UNI_TAG_SEQUENCE, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_disp_UpdateWindow },
   { &hf_disp_updatedInfo    , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_disp_RefreshInformation },
-  { &hf_disp_securityParameters, BER_CLASS_UNI, BER_UNI_TAG_SET, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dap_SecurityParameters },
+  { &hf_disp_securityParameters, -1 /*imported*/, -1 /*imported*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG, dissect_dap_SecurityParameters },
   { NULL, 0, 0, 0, NULL }
 };
 
@@ -1616,7 +1616,7 @@ dissect_disp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 
        if(disp_dissector) {
          if (check_col(pinfo->cinfo, COL_INFO))
-           col_add_str(pinfo->cinfo, COL_INFO, disp_op_name);
+           col_set_str(pinfo->cinfo, COL_INFO, disp_op_name);
 
          while (tvb_reported_length_remaining(tvb, offset) > 0){
            old_offset=offset;
@@ -1694,7 +1694,7 @@ void proto_register_disp(void) {
         "disp.BOOLEAN", HFILL }},
     { &hf_disp_contextSelection,
       { "contextSelection", "disp.contextSelection",
-        FT_UINT32, BASE_DEC, VALS(dap_ContextSelection_vals), 0,
+        FT_NONE, BASE_NONE, NULL, 0,
         "dap.ContextSelection", HFILL }},
     { &hf_disp_supplyContexts,
       { "supplyContexts", "disp.supplyContexts",
@@ -2042,7 +2042,7 @@ void proto_register_disp(void) {
         "disp.SEQUENCE_OF_EntryModification", HFILL }},
     { &hf_disp_changes_item,
       { "Item", "disp.changes_item",
-        FT_UINT32, BASE_DEC, VALS(dap_EntryModification_vals), 0,
+        FT_NONE, BASE_NONE, NULL, 0,
         "dap.EntryModification", HFILL }},
     { &hf_disp_subordinate,
       { "subordinate", "disp.subordinate",
@@ -2182,10 +2182,10 @@ void proto_reg_handoff_disp(void) {
 
   /* APPLICATION CONTEXT */
 
-  add_oid_str_name("2.5.3.4", "id-ac-shadow-consumer-initiated");
-  add_oid_str_name("2.5.3.5", "id-ac-shadow-supplier-initiated");
-  add_oid_str_name("2.5.3.6", "id-ac-reliable-shadow-consumer-initiated");
-  add_oid_str_name("2.5.3.7", "id-ac-reliable-shadow-supplier-initiated");
+  oid_add_from_string("id-ac-shadow-consumer-initiated","2.5.3.4");
+  oid_add_from_string("id-ac-shadow-supplier-initiated","2.5.3.5");
+  oid_add_from_string("id-ac-reliable-shadow-consumer-initiated","2.5.3.6");
+  oid_add_from_string("id-ac-reliable-shadow-supplier-initiated","2.5.3.7");
 
   /* ABSTRACT SYNTAXES */
 
@@ -2198,7 +2198,7 @@ void proto_reg_handoff_disp(void) {
   } 
 
   /* OPERATIONAL BINDING */
-  add_oid_str_name("2.5.1.0.5.1", "id-op-binding-shadow");
+  oid_add_from_string("id-op-binding-shadow","2.5.1.0.5.1");
 
   tpkt_handle = find_dissector("tpkt");