mirror of
https://github.com/nmap/nmap.git
synced 2026-02-09 06:56:35 +00:00
Define SOLARIS_BPF_PCAP_CAPTURE for Solaris 11.
Solaris 11 uses BPF packet capture rather than DLPI, which requires different handling in many cases. The new preprocessor symbol tells when this is the case; it is additional granularity on top of SOLARIS.
This commit is contained in:
@@ -123,6 +123,11 @@ case "$host" in
|
||||
AC_CHECK_LIB(cfg, _system_configuration)
|
||||
AC_CHECK_LIB(crypt, crypt_r)
|
||||
;;
|
||||
*-solaris2.1[[1-9]]*)
|
||||
AC_DEFINE(SOLARIS)
|
||||
# Solaris 11 and later use BPF packet capture rather than DLPI.
|
||||
AC_DEFINE(SOLARIS_BPF_PCAP_CAPTURE)
|
||||
;;
|
||||
*-solaris2.0*)
|
||||
AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
|
||||
AC_DEFINE(SOLARIS)
|
||||
|
||||
Reference in New Issue
Block a user