summaryrefslogtreecommitdiff
path: root/HFCommon.c
diff options
context:
space:
mode:
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