diff options
author | Michele Baldessari <michele@acksyn.org> | 2014-12-03 20:14:33 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-12-04 09:04:00 +0000 |
commit | f27c34570031ff99c8e829db07a55bb6a28b907a (patch) | |
tree | 41ef37eacdcc06dc0bf7e6931757406585508ea7 /epan/dissectors/x11-declarations.h | |
parent | b8a23643b339037e13e61baa22ce86fba7c96869 (diff) |
Add resource-id parsing to the X11 errors that return it
- Rename BadColor to BadColormap as the former does not exist in the X11
specs
- Parse the bad resource id field in case of the following errors:
BadColormap, BadWindow, BadPixmap, BadCursor, BadFont, BadDrawable,
BadGC and BadIDChoice
Change-Id: I5b23d32189e1a8bb291c656cf6383a85b3e89642
Reviewed-on: https://code.wireshark.org/review/5592
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/x11-declarations.h')
-rw-r--r-- | epan/dissectors/x11-declarations.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/x11-declarations.h b/epan/dissectors/x11-declarations.h index 3f3e3bb630..0806831d53 100644 --- a/epan/dissectors/x11-declarations.h +++ b/epan/dissectors/x11-declarations.h @@ -132,6 +132,7 @@ static int hf_x11_do_not_propagate_mask_erroneous_bits = -1; static int hf_x11_event_sequencenumber = -1; static int hf_x11_error = -1; static int hf_x11_error_badvalue = -1; +static int hf_x11_error_badresourceid = -1; static int hf_x11_error_sequencenumber = -1; static int hf_x11_errorcode = -1; static int hf_x11_event_x = -1; |