Replace "-DNO_PROTOCHAIN=<no_yes>" with "-DENABLE_PROTOCHAIN=<yes_no>"
to match "--enable-protochain=<yes_no>" in Autoconf as is implemented
for "-DENABLE_REMOTE" and "--enable-remote".
filtertest: Add "-l" flag to use Linux BPF extensions.
filtertest: Use ntohl() on the netmask to fix the -m option.
filtertest: Add support for stdin as "-" to the -F option.
+ Rename CMake option to ENABLE_PROTOCHAIN to match Autoconf.
Hurd:
Support network capture devices too.
Fix a few device activation bugs.
option(ENABLE_PROFILING "Enable code profiling" OFF)
# To pacify those who hate the protochain instruction
-option(NO_PROTOCHAIN "Disable protochain instruction" OFF)
+option(ENABLE_PROTOCHAIN "Enable protochain instruction" ON)
+if(ENABLE_PROTOCHAIN)
+ set(NO_PROTOCHAIN OFF)
+else()
+ set(NO_PROTOCHAIN ON)
+endif()
#
# Start out with the capture mechanism type unspecified; the user