summaryrefslogtreecommitdiff
path: root/plugins/irda
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-06-21 22:23:05 -0400
committerAnders Broman <a.broman58@gmail.com>2016-06-22 07:47:39 +0000
commit0bf1cb2342e5becdda56be41f0347068549a77fe (patch)
tree80a39ed33612f3907a6813f683d83204d1d3bf49 /plugins/irda
parentc664f72f36ed1ac4e50c020cd3afb1ccf55094c8 (diff)
downloadwireshark-0bf1cb2342e5becdda56be41f0347068549a77fe.tar.gz
Add address_to_bytes API.
This will copy an address's "byte format" into a buffer. The original intended design is for export_pdu functionality, which tries to do this "manually" for many address types (and creates undesired dependencies) The default functionality if a "byte format function" isn't provided (currently the case for all address types) is a memcpy of the address data. Providing "address to byte" functions to aid export PDU functionality will be provided later. Change-Id: I3703f9e617a8cef09165ad53a0f98c6372676b9b Reviewed-on: https://code.wireshark.org/review/16070 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins/irda')
-rw-r--r--plugins/irda/packet-irda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/irda/packet-irda.c b/plugins/irda/packet-irda.c
index f9c46d33da..3bba928d9f 100644
--- a/plugins/irda/packet-irda.c
+++ b/plugins/irda/packet-irda.c
@@ -2230,7 +2230,7 @@ void proto_register_irda(void)
}
proto_register_subtree_array(ett_iap_e, MAX_IAP_ENTRIES);
- irda_address_type = address_type_dissector_register("AT_IRDA", "IRDA Address", irda_addr_to_str, irda_addr_str_len, irda_col_filter_str, irda_addr_len, NULL, NULL);
+ irda_address_type = address_type_dissector_register("AT_IRDA", "IRDA Address", irda_addr_to_str, irda_addr_str_len, NULL, irda_col_filter_str, irda_addr_len, NULL, NULL);
}