From 90bdcbe130dbbc9985a7a8477628a4e3532e45f0 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Sat, 31 Dec 2022 10:44:53 +0000 Subject: 6.0.23.34 --- HFCommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'HFCommon.c') diff --git a/HFCommon.c b/HFCommon.c index 106228b..723d33d 100644 --- a/HFCommon.c +++ b/HFCommon.c @@ -1840,7 +1840,7 @@ int standardParams(struct TNCINFO * TNC, char * buf) if (_memicmp(buf, "WL2KREPORT", 10) == 0) TNC->WL2K = DecodeWL2KReportLine(buf); else if (_memicmp(buf, "SESSIONTIMELIMIT", 16) == 0) - TNC->SessionTimeLimit = TNC->DefaultSessionTimeLimit = atoi(&buf[16]) * 60; + TNC->SessionTimeLimit = TNC->DefaultSessionTimeLimit = atoi(&buf[17]) * 60; else if (_memicmp(buf, "BUSYHOLD", 8) == 0) // Hold Time for Busy Detect TNC->BusyHold = atoi(&buf[8]); else if (_memicmp(buf, "BUSYWAIT", 8) == 0) // Wait time before failing connect if busy -- cgit v1.2.3