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 /airpcap_loader.c | |
parent | 6ea50c8d2e0a70acd6d7c759a54276c852081172 (diff) |
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 'airpcap_loader.c')
-rw-r--r-- | airpcap_loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/airpcap_loader.c b/airpcap_loader.c index bca9708011..fd7abdd284 100644 --- a/airpcap_loader.c +++ b/airpcap_loader.c @@ -279,7 +279,7 @@ set_wep_key(pref_t *pref, gpointer ud _U_) uat_key.string = get_key_string(new_key); uat_key.key = new_key->type; - uat_add_record(uat, &uat_key); + uat_add_record(uat, &uat_key, TRUE); } uat_save(uat, &err); |