diff options
author | João Valverde <j@v6e.pt> | 2022-07-05 20:24:30 +0100 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-07-14 20:12:30 +0000 |
commit | 4c975b770e6bc6d16909c76954877d54d8f1f47b (patch) | |
tree | 95144097f132e09b5fdde3def0470fc93c41a445 /docbook | |
parent | 53dcf53ae5f2e83f8711406589356c37b4882c88 (diff) |
dfilter: Improve compatibility of integer types
Before:
$ dftest '_ws.ftypes.int64 == _ws.ftypes.int8'
Filter: _ws.ftypes.int64 == _ws.ftypes.int8
dftest: _ws.ftypes.int64 and _ws.ftypes.int8 are not of compatible types.
_ws.ftypes.int64 == _ws.ftypes.int8
^~~~~~~~~~~~~~~
After:
$ dftest '_ws.ftypes.int64 == _ws.ftypes.int8'
Filter: _ws.ftypes.int64 == _ws.ftypes.int8
Syntax tree:
0 TEST_ANY_EQ:
1 FIELD(_ws.ftypes.int64 <FT_INT64>)
1 FIELD(_ws.ftypes.int8 <FT_INT8>)
Instructions:
00000 READ_TREE _ws.ftypes.int64 <FT_INT64> -> reg#0
00001 IF_FALSE_GOTO 5
00002 READ_TREE _ws.ftypes.int8 <FT_INT8> -> reg#1
00003 IF_FALSE_GOTO 5
00004 ANY_EQ reg#0 === reg#1
00005 RETURN
Diffstat (limited to 'docbook')
-rw-r--r-- | docbook/release-notes.adoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docbook/release-notes.adoc b/docbook/release-notes.adoc index 2673f2d959..cceb4667e3 100644 --- a/docbook/release-notes.adoc +++ b/docbook/release-notes.adoc @@ -142,6 +142,7 @@ They previously shipped with Qt 5.12.2. This may be useful to match byte patterns but note that in general protocol fields with a string type still cannot contain embedded null bytes. ** Booleans can be written as True/TRUE or False/FALSE. Previously they could only be written as 1 or 0. ** It is now possible to test for the existence of a slice. +** All integer sizes are now compatible. Unless overflow occurs any integer field can be compared with any other. * The `text2pcap` command and the “Import from Hex Dump” feature have been updated and enhanced: ** `text2pcap` supports writing the output file in all the capture file formats that wiretap library supports, using the same `-F` option as `editcap`, `mergecap`, and `tshark`. |