Use report_failure() to report problems reading the RADIUS dictionary,

so it shows up in the GUI in Wireshark.

svn path=/trunk/; revision=35427
This commit is contained in:
Guy Harris 2011-01-08 17:06:04 +00:00
parent 132f13c2f9
commit 785f7b5191
1 changed files with 2 additions and 2 deletions

View File

@ -1935,8 +1935,8 @@ static void register_radius_fields(const char* unused _U_) {
radius_load_dictionary(dict,dir,"dictionary",&dict_err_str);
if (dict_err_str) {
g_warning("radius: %s",dict_err_str);
g_free(dict_err_str);
report_failure("radius: %s",dict_err_str);
g_free(dict_err_str);
}
g_hash_table_foreach(dict->attrs_by_id,register_attrs,&ri);