Remove tfe_set_standard_interface( )

There doesn't seem to be a purpose to tfe_set_standard_interface( ) other than
to end up overriding the interface from the configuration file, which
effectively sets interface 0 regardless of what's in the configuration file.
This commit is contained in:
Rhett Aultman 2021-02-12 01:35:48 -05:00
parent 7e788187b2
commit 7e417b0dc0

View File

@ -459,14 +459,6 @@ void tfe_reset(void)
}
}
#ifdef DOS_TFE
static void set_standard_tfe_interface(void)
{
char *dev, errbuf[PCAP_ERRBUF_SIZE];
dev = pcap_lookupdev(errbuf);
util_string_set(&tfe_interface, dev);
}
#endif
static
int tfe_activate_i(void)
@ -507,10 +499,6 @@ int tfe_activate_i(void)
log_message(tfe_log, "\ttfe at $%08X, tfe_packetpage at $%08X", tfe, tfe_packetpage );
#endif
#ifdef DOS_TFE
set_standard_tfe_interface();
#endif
if (!tfe_arch_activate(tfe_interface)) {
lib_free(tfe_packetpage);
lib_free(tfe);