Modem: Add SLIP alias for Win9x/IE5 with numbering rules enabled

This commit is contained in:
RichardG867
2024-07-26 16:15:00 -03:00
parent d0b2efface
commit e91ffcffa2

View File

@@ -686,7 +686,7 @@ modem_dial(modem_t *modem, const char *str)
{
modem->tcpIpConnCounter = 0;
modem->tcpIpMode = false;
if (!strncmp(str, "0.0.0.0", sizeof("0.0.0.0") - 1)) {
if (!strcmp(str, "0.0.0.0") || !strcmp(str, "0000")) {
modem_log("Turning on SLIP\n");
modem_enter_connected_state(modem);
modem->numberinprogress[0] = 0;