diff --git a/CMakeLists.txt b/CMakeLists.txt index dbd7736911..36adea0a6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1661,6 +1661,7 @@ set(INSTALL_FILES cfilters colorfilters dfilters + dfilter_macros enterprises.tsv ipmap.html manuf diff --git a/dfilter_macros b/dfilter_macros index e69de29bb2..4f0eae07f7 100644 --- a/dfilter_macros +++ b/dfilter_macros @@ -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"