dfilter: Add aliases "any_eq" and "all_ne"
This commit is contained in:
parent
8b23dd3a3c
commit
d8b7d1f821
|
@ -50,6 +50,7 @@ They previously shipped with Npcap 1.55.
|
|||
Some exotic patterns may now be invalid and require rewriting.
|
||||
** Adds a new strict equality operator "===" or "all_eq". The expression "a === b" is true if and only if all a's are equal to b.
|
||||
The negation of "===" can now be written as "!==" (any_ne), in adittion to "~=" (introduced in Wireshark 3.6.0).
|
||||
** Adds the aliases "any_eq" for "==" and "all_ne" for "!=".
|
||||
|
||||
* HTTP2 dissector now supports using fake headers to parse the DATAs of streams captured without first HEADERS frames of a long-lived stream (like
|
||||
gRPC streaming call which allows sending many request or response messages in one HTTP2 stream). User can specify fake headers according to the
|
||||
|
|
|
@ -113,8 +113,10 @@ static gboolean parse_charconst(dfwork_t *dfw, const char *s, unsigned long *val
|
|||
|
||||
"==" return simple(TOKEN_TEST_ANY_EQ);
|
||||
"eq" return simple(TOKEN_TEST_ANY_EQ);
|
||||
"any_eq" return simple(TOKEN_TEST_ANY_EQ);
|
||||
"!=" return simple(TOKEN_TEST_ALL_NE);
|
||||
"ne" return simple(TOKEN_TEST_ALL_NE);
|
||||
"all_ne" return simple(TOKEN_TEST_ALL_NE);
|
||||
"===" return simple(TOKEN_TEST_ALL_EQ);
|
||||
"all_eq" return simple(TOKEN_TEST_ALL_EQ);
|
||||
"!==" return simple(TOKEN_TEST_ANY_NE);
|
||||
|
|
Loading…
Reference in New Issue