ETHER: Fix mixed line endings which crept in while adding network support without any pcap components.
This commit is contained in:
parent
86e342501d
commit
1666cef8e3
1 changed files with 7 additions and 7 deletions
14
sim_ether.c
14
sim_ether.c
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue