summaryrefslogtreecommitdiff
path: root/HFCommon.c
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2022-12-31 10:44:53 +0000
committerJohn Wiseman <john.wiseman@cantab.net>2022-12-31 10:44:53 +0000
commit90bdcbe130dbbc9985a7a8477628a4e3532e45f0 (patch)
tree1b751234609ae587e93078af8f43673d7960a048 /HFCommon.c
parentebc845ec8c8ed630f77205fbad9a19174e93785a (diff)
6.0.23.3423.36
Diffstat (limited to 'HFCommon.c')
-rw-r--r--HFCommon.c2
1 files changed, 1 insertions, 1 deletions
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