1
0
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:
david
2012-04-07 08:07:41 +00:00
parent fd9260276c
commit 685f5fa4c3
8 changed files with 32 additions and 9 deletions

7
configure vendored
View File

@@ -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