diff options
author | Michael Mann <mmann78@netscape.net> | 2015-02-07 22:15:55 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-02-09 01:12:01 +0000 |
commit | 4497bb48fd3439474049f7c5e86b4ffa1df35828 (patch) | |
tree | f325f4a4ea7bfa485644527bc126cf6d7e216fc7 /epan/column-utils.c | |
parent | 3b81c360ded5b81d9affe324435f358590220341 (diff) | |
download | wireshark-4497bb48fd3439474049f7c5e86b4ffa1df35828.tar.gz |
Add address type registration.
Now address types are setup just like field types and must be registered with a structure that provides its string representation (and more things in the future). Address types that are limited to a single dissector are registered by the dissector. More "common" ones are globally registered. There are still a few that really belong in a dissector, but have other dependencies currently not accounted for in the address type support.
Many of the "address to string" conversions that involved g_sprintf have be changed to use more "performance friendly" methods (some at the cost of needing to_str-int.h)
Leaving all comments regarding this "solution" in address_to_str.c in until all have been implemented
Change-Id: I494f413e016b22859c44675def11135f228796e0
Reviewed-on: https://code.wireshark.org/review/7019
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/column-utils.c')
-rw-r--r-- | epan/column-utils.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/column-utils.c b/epan/column-utils.c index aafecbe2ae..018cdf5efb 100644 --- a/epan/column-utils.c +++ b/epan/column-utils.c @@ -27,7 +27,6 @@ #include "column-utils.h" #include "timestamp.h" -#include "sna-utils.h" #include "to_str.h" #include "packet_info.h" #include "wsutil/pint.h" |