mirror of
https://github.com/nmap/nmap.git
synced 2026-01-29 01:29:22 +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:
7
configure
vendored
7
configure
vendored
@@ -4718,6 +4718,13 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
;;
|
||||
*-solaris2.1[1-9]*)
|
||||
$as_echo "#define SOLARIS 1" >>confdefs.h
|
||||
|
||||
# Solaris 11 and later use BPF packet capture rather than DLPI.
|
||||
$as_echo "#define SOLARIS_BPF_PCAP_CAPTURE 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
*-solaris2.0*)
|
||||
$as_echo "#define STUPID_SOLARIS_CHECKSUM_BUG 1" >>confdefs.h
|
||||
|
||||
Reference in New Issue
Block a user