diff options
author | Evan Huus <eapache@gmail.com> | 2013-03-19 14:53:44 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-03-19 14:53:44 +0000 |
commit | 1a684e6adf2462f4a3cdd4c605d3e8f7dc622394 (patch) | |
tree | e96f079e637762c1c27916bf76c9171fa23fcda2 /epan/value_string.c | |
parent | d31620a7bf42c2bb561188f0611af3097e0e8173 (diff) |
Warn if an extended value string falls back to linear search.
See https://www.wireshark.org/lists/wireshark-dev/201303/msg00179.html
svn path=/trunk/; revision=48415
Diffstat (limited to 'epan/value_string.c')
-rw-r--r-- | epan/value_string.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/value_string.c b/epan/value_string.c index a1faef4c18..61e9ee7e88 100644 --- a/epan/value_string.c +++ b/epan/value_string.c @@ -318,6 +318,8 @@ _match_strval_ext_init(const guint32 val, const value_string_ext *a_vse) if ((type == VS_BIN_TREE) && ((prev_value > vs_p[i].value) || (first_value > vs_p[i].value))) { type = VS_SEARCH; + g_warning("Extended value string %s forced to fall back to linear search", + vse->_vs_name); break; } |