aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfvm.h
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-04-11 20:06:49 +0100
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-04-26 16:50:59 +0000
commitc0170dad42b28bdbb7e3a8397e209069470e9387 (patch)
tree8a3cb167b312a1ad8aa422a3e18c38a38e193c66 /epan/dfilter/dfvm.h
parentd517feee74c39b37486aabce80c4aaa61e5afcb4 (diff)
dfilter: Rename "range" to "slice"
The word range is used for different things with different meanings and that is confusing. Avoid using "range" in code to mean "slice". A range is one or more intervals with a lower and upper bound. A slice is a range applied to a bytes field. Replace range with slice wherever appropriate. This usage of "slice" instead of range is generally correct and consistent in the documentation.
Diffstat (limited to 'epan/dfilter/dfvm.h')
-rw-r--r--epan/dfilter/dfvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dfilter/dfvm.h b/epan/dfilter/dfvm.h
index c29608ed50..e30a95dd5a 100644
--- a/epan/dfilter/dfvm.h
+++ b/epan/dfilter/dfvm.h
@@ -67,7 +67,7 @@ typedef enum {
ALL_ZERO,
ANY_CONTAINS,
ANY_MATCHES,
- MK_RANGE,
+ MK_SLICE,
MK_BITWISE_AND,
MK_MINUS,
DFVM_ADD,