mirror of
https://github.com/open-simh/simh.git
synced 2026-05-01 22:16:21 +00:00
ETHER: Fix mixed line endings which crept in while adding network support without any pcap components.
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user