A small patch for DLT_SYMANTEC:
And other Win compilers besides MSVC have <unistd.h>.

--- libpcap-2004.03.24/pcap.c   Tue Mar 23 20:18:07 2004
+++ pcap.c      Wed Mar 24 18:12:06 2004
@@ -49,7 +49,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#ifndef WIN32
+#ifndef _MSC_VER
 #include <unistd.h>
 #endif
 #include <fcntl.h>
@@ -351,6 +351,7 @@
        DLT_CHOICE(DLT_DOCSIS, "DOCSIS"),
        DLT_CHOICE(DLT_LINUX_IRDA, "Linux IrDA"),
        DLT_CHOICE(DLT_IEEE802_11_RADIO_AVS, "802.11 plus AVS radio information 
header"),
+       DLT_CHOICE(DLT_SYMANTEC_FIREWALL, "Symantec Firewall"),
        DLT_CHOICE_SENTINEL
 };


--gv

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]

Reply via email to