From c796b0494c90f4307cb7bc205f1375ff821462be Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Thu, 17 Jan 2002 21:21:02 +0000 Subject: corrected password_length mismatch. --- share/msec.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share') 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) -- cgit v1.2.1