Project

General

Profile

« Previous | Next » 

Revision c33565ad

Added by Scott Ullrich almost 20 years ago

Allow 28 digit keys (0x)

View differences:

usr/local/www/interfaces_wlan.inc
86 86
				continue;
87 87
			if(strlen($_POST['key' . $i]) == 26)
88 88
				continue;
89
			if(strlen($_POST['key' . $i]) == 28)
90
				continue;
89 91
			$input_errors[] =  "Invalid wep key size.   Sizes should be 40 (64) bit keys or 104 (128) bit.";
90 92
			break;
91 93
		}

Also available in: Unified diff