mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-06-09 03:29:28 +00:00
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:
parent
7e788187b2
commit
7e417b0dc0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user