diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-06-28 14:19:08 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-06-28 14:19:08 +0000 |
commit | 56d7db0c08d734d672c64d6c5c566ae3d70b7ed7 (patch) | |
tree | 8630f1f8a3129f886a07f432a88db41cad2af16d /epan/dissectors/packet-wlancertextn.c | |
parent | 45aac4eb43f1c822625dd95551f4b694ee770e20 (diff) |
remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
use add_oid_str_name() and get_oid_str_name() instead of them
svn path=/trunk/; revision=18595
Diffstat (limited to 'epan/dissectors/packet-wlancertextn.c')
-rw-r--r-- | epan/dissectors/packet-wlancertextn.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/epan/dissectors/packet-wlancertextn.c b/epan/dissectors/packet-wlancertextn.c index e0e4e68061..214bdc05bc 100644 --- a/epan/dissectors/packet-wlancertextn.c +++ b/epan/dissectors/packet-wlancertextn.c @@ -38,6 +38,7 @@ #include <glib.h> #include <epan/packet.h> #include <epan/conversation.h> +#include <epan/oid_resolv.h> #include <stdio.h> #include <string.h> @@ -61,7 +62,7 @@ static int hf_wlancertextn_SSIDList_PDU = -1; /* SSIDList */ static int hf_wlancertextn_SSIDList_item = -1; /* SSID */ /*--- End of included file: packet-wlancertextn-hf.c ---*/ -#line 50 "packet-wlancertextn-template.c" +#line 51 "packet-wlancertextn-template.c" /* Initialize the subtree pointers */ @@ -70,7 +71,7 @@ static int hf_wlancertextn_SSIDList_item = -1; /* SSID */ static gint ett_wlancertextn_SSIDList = -1; /*--- End of included file: packet-wlancertextn-ett.c ---*/ -#line 53 "packet-wlancertextn-template.c" +#line 54 "packet-wlancertextn-template.c" /*--- Included file: packet-wlancertextn-fn.c ---*/ @@ -112,7 +113,7 @@ static void dissect_SSIDList_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree * /*--- End of included file: packet-wlancertextn-fn.c ---*/ -#line 55 "packet-wlancertextn-template.c" +#line 56 "packet-wlancertextn-template.c" /*--- proto_register_wlancertextn ----------------------------------------------*/ @@ -133,7 +134,7 @@ void proto_register_wlancertextn(void) { "SSIDList/_item", HFILL }}, /*--- End of included file: packet-wlancertextn-hfarr.c ---*/ -#line 63 "packet-wlancertextn-template.c" +#line 64 "packet-wlancertextn-template.c" }; /* List of subtrees */ @@ -144,7 +145,7 @@ void proto_register_wlancertextn(void) { &ett_wlancertextn_SSIDList, /*--- End of included file: packet-wlancertextn-ettarr.c ---*/ -#line 68 "packet-wlancertextn-template.c" +#line 69 "packet-wlancertextn-template.c" }; /* Register protocol */ @@ -167,8 +168,8 @@ void proto_reg_handoff_wlancertextn(void) { /*--- End of included file: packet-wlancertextn-dis-tab.c ---*/ -#line 83 "packet-wlancertextn-template.c" - register_ber_oid_name("1.3.6.1.5.5.7.3.13","id-kp-eapOverPPP"); - register_ber_oid_name("1.3.6.1.5.5.7.3.14","id-kp-eapOverLAN"); +#line 84 "packet-wlancertextn-template.c" + add_oid_str_name("1.3.6.1.5.5.7.3.13","id-kp-eapOverPPP"); + add_oid_str_name("1.3.6.1.5.5.7.3.14","id-kp-eapOverLAN"); } |