diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-14 22:56:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-14 22:56:53 +0000 |
commit | b419710603cbff3459b1d29e1f3ff741af78baa5 (patch) | |
tree | 37dd1596c43567ed486c80d1c7c8bed51bbaa507 /usr | |
parent | 192fd3d17f29a4ebcadc8cc3454d2510828543a7 (diff) | |
download | pfsense-b419710603cbff3459b1d29e1f3ff741af78baa5.zip pfsense-b419710603cbff3459b1d29e1f3ff741af78baa5.tar.gz |
No need to loop through all keys if any of the sizes mismatch
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces_wlan.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc index eede4d3..fad01bf 100755 --- a/usr/local/www/interfaces_wlan.inc +++ b/usr/local/www/interfaces_wlan.inc @@ -87,6 +87,7 @@ function wireless_config_post() { if(strlen($_POST['key' . $i]) == 26) continue; $input_errors[] = "Invalid wep key size. Sizes should be 40 (64) bit keys or 104 (128) bit."; + break; } } |