remove bunk input validation

This commit is contained in:
Chris Buechler 2010-04-24 19:04:30 -04:00
parent 1b8048a1eb
commit ee8c38898d

View File

@ -127,16 +127,6 @@ if ($_POST) {
}
}
/* check for overlaps with 1:1 NAT */
if (is_array($config['nat']['onetoone'])) {
foreach ($config['nat']['onetoone'] as $natent) {
if (check_subnets_overlap($_POST['subnet'], 32, $natent['external'], $natent['subnet'])) {
$input_errors[] = "A 1:1 NAT mapping overlaps with the specified IP address.";
break;
}
}
}
/* make sure new ip is within the subnet of a valid ip
* on one of our interfaces (wan, lan optX)
*/