diff options
author | Michael Mann <mmann78@netscape.net> | 2013-04-22 02:10:49 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-04-22 02:10:49 +0000 |
commit | 4a1bd75b60171d781dc9f2d3ffd6d498acc74b1a (patch) | |
tree | 496db09db3b0ebcf10e9e43d19d804cd14b94a58 /plugins/stats_tree | |
parent | 6ea50c8d2e0a70acd6d7c759a54276c852081172 (diff) | |
download | wireshark-4a1bd75b60171d781dc9f2d3ffd6d498acc74b1a.tar.gz wireshark-4a1bd75b60171d781dc9f2d3ffd6d498acc74b1a.tar.bz2 wireshark-4a1bd75b60171d781dc9f2d3ffd6d498acc74b1a.zip |
Add a "hidden" array of UAT entry data to allow separation between UAT file syntax errors and "syntactically correct, but invalid field". Now UAT files load all entries into the "hidden" array (raw_data), but only adds valid ones to the user_data, which is used by the dissectors.
This is a start to fixing bug 7471 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7471) and is being committed to get the new ABI/API in before the 1.10 release.
What remains is the "GUI portion" (GTK+qt) to indicate to users which UAT entries are invalid.
svn path=/trunk/; revision=48960
Diffstat (limited to 'plugins/stats_tree')
-rw-r--r-- | plugins/stats_tree/pinfo_stats_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/stats_tree/pinfo_stats_tree.c b/plugins/stats_tree/pinfo_stats_tree.c index 3646f61181..143daf8d04 100644 --- a/plugins/stats_tree/pinfo_stats_tree.c +++ b/plugins/stats_tree/pinfo_stats_tree.c @@ -103,7 +103,7 @@ static void uat_plen_record_post_update_cb(void) { for (i = 0; i < num_default; i++) { rec.packet_range = &default_range[i]; - uat_add_record(plen_uat, &rec); + uat_add_record(plen_uat, &rec, TRUE); } } } |