1
0
mirror of https://github.com/simh/simh.git synced 2026-02-12 02:48:38 +00:00

ETHER: Updated documentation for building with network support on Mac OS/X. Fix #112

This commit is contained in:
Mark Pizzolato
2014-02-24 08:51:47 -08:00
parent 44f66e90eb
commit d81825cdba
3 changed files with 18 additions and 3 deletions

View File

@@ -2965,9 +2965,11 @@ dev->read_callback = routine;
/* dispatch read request to either receive a filtered packet or timeout */
do {
switch (dev->eth_api) {
#ifdef HAVE_PCAP_NETWORK
case ETH_API_PCAP:
status = pcap_dispatch((pcap_t*)dev->handle, 1, &_eth_callback, (u_char*)dev);
break;
#endif
#ifdef HAVE_TAP_NETWORK
case ETH_API_TAP:
if (1) {