diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-10-31 23:11:15 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-10-31 23:11:15 +0000 |
commit | 8c18e9153bef39e11d91d47e20d8a88a42c4179b (patch) | |
tree | 7303fc6b6dc1746ee638880b4e509259593df8e0 /epan/dissectors/packet-ber.c | |
parent | 9ed1834d80c47b4c270d5fa75f2cae0d85949ea7 (diff) |
Use oid_add_from_string for adding names.
fix compil of gsmmap and inap.
Note xcopy of gsmmap does not work(rename packet-gsm_map -> packet-gsmmap ?)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23325 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ber.c')
-rw-r--r-- | epan/dissectors/packet-ber.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c index f5a1b6d678..d993fda5e3 100644 --- a/epan/dissectors/packet-ber.c +++ b/epan/dissectors/packet-ber.c @@ -221,7 +221,7 @@ void register_ber_oid_dissector_handle(const char *oid, dissector_handle_t dissector, int proto _U_, const char *name) { dissector_add_string("ber.oid", oid, dissector); - add_oid_str_name(oid, name); + oid_add_from_string(name, oid); } void @@ -231,7 +231,7 @@ register_ber_oid_dissector(const char *oid, dissector_t dissector, int proto, co dissector_handle=create_dissector_handle(dissector, proto); dissector_add_string("ber.oid", oid, dissector_handle); - add_oid_str_name(oid, name); + oid_add_from_string(name, oid); } void @@ -259,7 +259,7 @@ register_ber_oid_syntax(const char *oid, const char *name, const char *syntax) void register_ber_oid_name(const char *oid, const char *name) { - add_oid_str_name(oid, name); + oid_add_from_string(name, oid); } static void ber_decode_as_dt(const gchar *table_name _U_, ftenum_t selector_type _U_, gpointer key, gpointer value, gpointer user_data) |