diff options
author | Michael Mann <mmann78@netscape.net> | 2016-06-12 11:12:15 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-06-13 05:16:51 +0000 |
commit | 87b5597ee0170d4fcf05f7eae364fb79e70f8ca3 (patch) | |
tree | b4e9550da9af89ca015fe73ec7fd55247f8158d0 /epan/dissectors/packet-tipc.c | |
parent | 0baf13f8e979b8755a7fa314c3fa65e5bf37d21a (diff) |
Add address_type_get_by_name
This allows the decoupling of a dissector registering an address type
so it doesn't need to export the returned registered type.
Change-Id: I49c913d042e70bd4b7ea1e964ba9511bb27304f5
Reviewed-on: https://code.wireshark.org/review/15855
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-tipc.c')
-rw-r--r-- | epan/dissectors/packet-tipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c index 16076f53da..915d2f958c 100644 --- a/epan/dissectors/packet-tipc.c +++ b/epan/dissectors/packet-tipc.c @@ -3045,7 +3045,7 @@ proto_register_tipc(void) /* Register configuration options */ tipc_module = prefs_register_protocol(proto_tipc, proto_reg_handoff_tipc); - tipc_address_type = address_type_dissector_register("tipc_address_type", "TIPC Address Zone,Subnetwork,Processor", + tipc_address_type = address_type_dissector_register("AT_TIPC", "TIPC Address Zone,Subnetwork,Processor", tipc_addr_to_str_buf, tipc_addr_str_len, NULL, NULL, NULL, NULL); /* Set default ports */ |