From e91ffcffa25512ed957ee213c8be304017474d5e Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Fri, 26 Jul 2024 16:15:00 -0300 Subject: [PATCH] Modem: Add SLIP alias for Win9x/IE5 with numbering rules enabled --- src/network/net_modem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/net_modem.c b/src/network/net_modem.c index b3163c06c..45fb00ef2 100644 --- a/src/network/net_modem.c +++ b/src/network/net_modem.c @@ -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;