diff options
author | jim-p <jimp@pfsense.org> | 2013-05-16 15:52:56 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-05-16 15:52:56 -0400 |
commit | 37c922a6faff0e55db04fb66e43b76180e1c1449 (patch) | |
tree | 6069a9ca653e3ca921ce3d3aa32b513793f5b0e3 | |
parent | 5b23c83db0886e60e7a6b8c18f85b6ecf7cc1044 (diff) | |
download | pfsense-37c922a6faff0e55db04fb66e43b76180e1c1449.zip pfsense-37c922a6faff0e55db04fb66e43b76180e1c1449.tar.gz |
Don't stomp on this variable or data loss can occur (disappearing static mappings)
-rwxr-xr-x | usr/local/www/services_dhcp_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php index 6e81277..a66a360 100755 --- a/usr/local/www/services_dhcp_edit.php +++ b/usr/local/www/services_dhcp_edit.php @@ -188,7 +188,7 @@ if ($_POST) { $input_errors[] = sprintf(gettext("The IP address must not be within the DHCP range for this interface.")); } - foreach ($a_pools as $id => $p) { + foreach ($a_pools as $pidx => $p) { if (is_inrange_v4($_POST['ipaddr'], $p['range']['from'], $p['range']['to'])) { $input_errors[] = gettext("The IP address must not be within the range configured on a DHCP pool for this interface."); break; |