1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

ETHER: Only reference pcap_lib_version() when HAVE_PCAP_NETWORK is defined

This commit is contained in:
Mark Pizzolato
2019-09-03 00:39:09 -07:00
parent 731d99cf65
commit 7398e63b00

View File

@@ -2440,7 +2440,11 @@ return SCPE_OK;
const char *eth_version (void)
{
#if defined(HAVE_PCAP_NETWORK)
return pcap_lib_version();
#else
return NULL;
#endif
}
t_stat eth_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr)