aboutsummaryrefslogtreecommitdiff
path: root/russian/tac+ia/files/patch-maxsess
diff options
context:
space:
mode:
Diffstat (limited to 'russian/tac+ia/files/patch-maxsess')
-rw-r--r--russian/tac+ia/files/patch-maxsess12
1 files changed, 12 insertions, 0 deletions
diff --git a/russian/tac+ia/files/patch-maxsess b/russian/tac+ia/files/patch-maxsess
new file mode 100644
index 000000000000..3fc89123c92e
--- /dev/null
+++ b/russian/tac+ia/files/patch-maxsess
@@ -0,0 +1,12 @@
+--- tac_plus/maxsess.c.orig Mon Sep 25 16:41:35 2000
++++ tac_plus/maxsess.c Tue Apr 17 01:29:41 2001
+@@ -741,7 +741,8 @@
+ }
+
+ /* If it's really too high, don't authorize more services */
+- if (sess >= maxsess) {
++/* if (sess >= maxsess) { */
++ if (sess > maxsess) { /* NAS reports the current attempt as an opened session too */
+ char buf[80];
+
+ sprintf(buf,