diff options
author | João Valverde <j@v6e.pt> | 2023-10-30 20:33:19 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-11-08 15:48:00 +0000 |
commit | 7d87367e22119be4b67822ebe14671a3f56a7f61 (patch) | |
tree | 41db0dc4729c0f3abcc0c7d07b9f63b90cc8897d /doc/release-notes.adoc | |
parent | c568589189e6ef67ddf93dd6f7ef51ff75cff6c6 (diff) |
dfilter: Add a function-like macro syntax
Add an alternative macro notation as $mymacro(a,b,c,d). For me
this notation is more natural, I have difficulty remembering how
to use macros with ${mymacro:a;b;c} and it makes the filter
expression harder to understand.
For convenience and to simplify the code we also allow
curly braces to open/close macro argument lists and the semicolon
as an argument separator for the new syntax.
This added flexibility may be reevaluated and dropped later if it
turns out to be undesirable for some reason.
Diffstat (limited to 'doc/release-notes.adoc')
-rw-r--r-- | doc/release-notes.adoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/release-notes.adoc b/doc/release-notes.adoc index 118b912e2a..0d409a79d1 100644 --- a/doc/release-notes.adoc +++ b/doc/release-notes.adoc @@ -67,6 +67,10 @@ The following features are new (or have been significantly updated) since versio ** Added new display filter functions to test various IP address properties. Check the wireshark-filter(5) manpage for more information. + ** Display filter macros can be written using a function-like notation. + The macro `${mymacro:arg1; ...; argN}` can be written + $mymacro(arg1, ..., argN)`. + * Display filter autocompletions now also include display filter functions. * The display filter macro configuration file has changed format. It now uses |