summaryrefslogtreecommitdiff
path: root/epan/osi-utils.c
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 /epan/osi-utils.c
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 'epan/osi-utils.c')
-rw-r--r--epan/osi-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/osi-utils.c b/epan/osi-utils.c
index 22be209b66..58c86ba5cf 100644
--- a/epan/osi-utils.c
+++ b/epan/osi-utils.c
@@ -241,7 +241,7 @@ void register_osi_address_type(void)
if (osi_address_type != -1)
return;
- osi_address_type = address_type_dissector_register("AT_OSI", "OSI Address", osi_address_to_str, osi_address_str_len, NULL, NULL, NULL, NULL);
+ osi_address_type = address_type_dissector_register("AT_OSI", "OSI Address", osi_address_to_str, osi_address_str_len, NULL, NULL, NULL, NULL, NULL);
}