diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-24 20:38:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-24 20:38:29 +0000 |
commit | 401a52c7d5c2f2e29a43b3e406ae54e27b4618eb (patch) | |
tree | 933706bdbb1b8bfe11e959123cb88d6f1e4dde82 /usr/local/www/load_balancer_pool_edit.php | |
parent | 30cbce9c1e5cbaf609e986fb4a450db048cd99df (diff) | |
download | pfsense-401a52c7d5c2f2e29a43b3e406ae54e27b4618eb.zip pfsense-401a52c7d5c2f2e29a43b3e406ae54e27b4618eb.tar.gz |
Third times a charm. Compare the interface gateway settings
Ticket #1039
Diffstat (limited to 'usr/local/www/load_balancer_pool_edit.php')
-rwxr-xr-x | usr/local/www/load_balancer_pool_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/load_balancer_pool_edit.php b/usr/local/www/load_balancer_pool_edit.php index 015339b..5f04ba8 100755 --- a/usr/local/www/load_balancer_pool_edit.php +++ b/usr/local/www/load_balancer_pool_edit.php @@ -100,7 +100,7 @@ if ($_POST) { $ifdescrs['opt' . $j] = "opt" . $j; } foreach($ifdescrs as $iface) { - if($config[$iface]['gateway'] == $_POST['gateway']) + if($config['interfaces'][$iface]['gateway'] == $_POST['gateway']) $input_errors[] = "{$_POST['gateway']} is currently being referenced by an interface ip address."; } } |