Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Fix for WinPcap 3.1
From: Fyodor <fyodor () insecure org>
Date: Sun, 22 Feb 2004 19:07:22 -0800

On Sun, Feb 22, 2004 at 05:47:02PM -0800, Andy Lutomirski wrote:
anyone knows a clean way to find winpcap's version, that would help. 
Also, in a release or two, we should probably remove the extra

Does Winpcap support the pcap_version[] array that normal libpcap
offers?  Here is how Nmap uses it in its configure.ac script:

  AC_MSG_CHECKING(if libpcap version is recent enough)
#include <stdio.h>
extern char pcap_version[];
int main() {
  int major, minor;
  sscanf(pcap_version,"%d.%d", &major, &minor);

Then again, testing for certain traits is often more reliable than
comparing version numbers.


For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List archive: http://seclists.org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]