aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-01-17 21:21:02 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-01-17 21:21:02 +0000
commitc796b0494c90f4307cb7bc205f1375ff821462be (patch)
tree77fa04ef8d684705f21bf9d36e0265fd06b1e7a9
parented397bde38d3691aefaef6018254ab0d99a35aad (diff)
downloadmsec-c796b0494c90f4307cb7bc205f1375ff821462be.tar
msec-c796b0494c90f4307cb7bc205f1375ff821462be.tar.gz
msec-c796b0494c90f4307cb7bc205f1375ff821462be.tar.bz2
msec-c796b0494c90f4307cb7bc205f1375ff821462be.tar.xz
msec-c796b0494c90f4307cb7bc205f1375ff821462be.zip
corrected password_length mismatch.
-rwxr-xr-xshare/msec.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/msec.py b/share/msec.py
index 8ab0a3f..6898921 100755
--- a/share/msec.py
+++ b/share/msec.py
@@ -83,11 +83,11 @@ server=(level in range(3, 6))
# for all levels: min length = 2 * (level - 1) and for level 4,5 makes mandatory
# to have at least one upper case character and one digit.
if level > 1:
- password_length = (level - 1) * 2
+ plength = (level - 1) * 2
else:
- password_length = 0
+ plength = 0
-password_length(password_length, level / 4, level / 4)
+password_length(plength, level / 4, level / 4)
enable_ip_spoofing_protection(server)