diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-18 20:23:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-18 20:23:54 +0000 |
commit | c33565adcefec692d2a853bcbc310ff0b39eb1d5 (patch) | |
tree | 7a7724b5a2731e3f1af69c352a4d010493f5de29 /usr/local/www/interfaces_wlan.inc | |
parent | 43c9a1ddc2ec1497e108aea5c95ea7e7cac5317c (diff) | |
download | pfsense-c33565adcefec692d2a853bcbc310ff0b39eb1d5.zip pfsense-c33565adcefec692d2a853bcbc310ff0b39eb1d5.tar.gz |
Allow 28 digit keys (0x)
Diffstat (limited to 'usr/local/www/interfaces_wlan.inc')
-rwxr-xr-x | usr/local/www/interfaces_wlan.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc index fad01bf..aab684b 100755 --- a/usr/local/www/interfaces_wlan.inc +++ b/usr/local/www/interfaces_wlan.inc @@ -86,6 +86,8 @@ function wireless_config_post() { continue; if(strlen($_POST['key' . $i]) == 26) continue; + if(strlen($_POST['key' . $i]) == 28) + continue; $input_errors[] = "Invalid wep key size. Sizes should be 40 (64) bit keys or 104 (128) bit."; break; } |