mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-06 13:30:20 +00:00
ethernet related prefs items
This commit is contained in:
parent
fb4dacd6a6
commit
912479d0d1
@ -45,6 +45,12 @@ prefs_desc platform_prefs_items[] = {
|
|||||||
{"debugextfs", TYPE_BOOLEAN, false, "debug extfs system"},
|
{"debugextfs", TYPE_BOOLEAN, false, "debug extfs system"},
|
||||||
{"extdrives", TYPE_STRING, false, "define allowed extfs drives"},
|
{"extdrives", TYPE_STRING, false, "define allowed extfs drives"},
|
||||||
{"pollmedia", TYPE_BOOLEAN, false, "poll for new media (e.g. cd, floppy)"},
|
{"pollmedia", TYPE_BOOLEAN, false, "poll for new media (e.g. cd, floppy)"},
|
||||||
|
{"etherpermanentaddress", TYPE_BOOLEAN, false, "use permanent NIC address to identify itself"},
|
||||||
|
{"ethermulticastmode", TYPE_INT32, false, "how to multicast packets"},
|
||||||
|
{"etherfakeaddress", TYPE_STRING, false, "optional fake hardware address"},
|
||||||
|
{"routerenabled", TYPE_BOOLEAN, false, "enable NAT/Router module"},
|
||||||
|
{"ftp_port_list", TYPE_STRING, false, "FTP ports list"},
|
||||||
|
{"tcp_port", TYPE_STRING, false, "TCP ports list"},
|
||||||
|
|
||||||
{NULL, TYPE_END, false, NULL} // End of list
|
{NULL, TYPE_END, false, NULL} // End of list
|
||||||
};
|
};
|
||||||
@ -120,4 +126,8 @@ void AddPlatformPrefsDefaults(void)
|
|||||||
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
|
#ifdef HAVE_SIGSEGV_SKIP_INSTRUCTION
|
||||||
PrefsAddBool("ignoresegv", false);
|
PrefsAddBool("ignoresegv", false);
|
||||||
#endif
|
#endif
|
||||||
|
PrefsReplaceBool("etherpermanentaddress", true);
|
||||||
|
PrefsReplaceInt32("ethermulticastmode", 0);
|
||||||
|
PrefsReplaceBool("routerenabled", false);
|
||||||
|
PrefsReplaceString("ftp_port_list", "21");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user