tcpdump mailing list archives
pcap.c patch
From: "Gisle Vanem" <giva () bgnett no>
Date: Wed, 24 Mar 2004 19:58:04 +0100
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:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- pcap.c patch Gisle Vanem (Mar 25)
- Re: pcap.c patch Guy Harris (Mar 26)
- Re: pcap.c patch Mark Pizzolato (Mar 26)
- Re: pcap.c patch Guy Harris (Mar 26)
