ETHER: Fix mixed line endings which crept in while adding network support without any pcap components.

This commit is contained in:
Mark Pizzolato 2013-12-30 09:19:55 -08:00
parent 86e342501d
commit 1666cef8e3

View file

@ -904,13 +904,13 @@ const char *eth_capabilities(void)
#include <pcap.h> #include <pcap.h>
#include <string.h> #include <string.h>
#else #else
struct pcap_pkthdr { struct pcap_pkthdr {
uint32 caplen; /* length of portion present */ uint32 caplen; /* length of portion present */
uint32 len; /* length this packet (off wire) */ uint32 len; /* length this packet (off wire) */
}; };
#define PCAP_ERRBUF_SIZE 256 #define PCAP_ERRBUF_SIZE 256
typedef void * pcap_t; /* Pseudo Type to avoid compiler errors */ typedef void * pcap_t; /* Pseudo Type to avoid compiler errors */
#define DLT_EN10MB 1 /* Dummy Value to avoid compiler errors */ #define DLT_EN10MB 1 /* Dummy Value to avoid compiler errors */
#endif /* HAVE_PCAP_NETWORK */ #endif /* HAVE_PCAP_NETWORK */
#ifdef HAVE_TAP_NETWORK #ifdef HAVE_TAP_NETWORK