ship the dfilter_macros file.
By providing such a file, we give the users a basic toolbox of macros. At the moment 3 macros have been added, for private mac addresses, as well al IP v4 and v6. Change-Id: Icc33efce437adef00e268172c184c8b52167df23 Reviewed-on: https://code.wireshark.org/review/33449 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
443df93896
commit
f35e7f874d
|
@ -1661,6 +1661,7 @@ set(INSTALL_FILES
|
|||
cfilters
|
||||
colorfilters
|
||||
dfilters
|
||||
dfilter_macros
|
||||
enterprises.tsv
|
||||
ipmap.html
|
||||
manuf
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
# DO NOT MODIFY
|
||||
# This file is the macro file shipped with Wireshark.
|
||||
# For your personal macros, use the same file in your profile dir.
|
||||
"private_ipv4","$1 == 192.168.0.0/16 or $1 == 172.16.0.0/12 or $1 == 10.0.0.0/8"
|
||||
"private_ethernet","($1[0-0] & 02) == 0x02 or ($1[0-0] & 06) or ($1[0-0] & 0A) or ($1[0-0] & 06)"
|
||||
"private_ipv6", "ipv6 && $1 == fc00::/7"
|
Loading…
Reference in New Issue