diff options
author | gnhb <gnoahb@gmail.com> | 2010-10-01 09:10:49 +0700 |
---|---|---|
committer | gnhb <gnoahb@gmail.com> | 2010-10-01 09:10:49 +0700 |
commit | 80a5b5f7e61dc8ed1a7928149506650956b8bb86 (patch) | |
tree | d1b0cf759d780fd598b0d297edbf7665503aa52f /usr | |
parent | 24d4a390501d843243d83f882ee97ab952ed1353 (diff) | |
download | pfsense-80a5b5f7e61dc8ed1a7928149506650956b8bb86.zip pfsense-80a5b5f7e61dc8ed1a7928149506650956b8bb86.tar.gz |
We don't store monitor ip in the <interfaces> config any more.
Requested by cbuechler in ticket #919.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index d20544b..dd08e64 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -200,14 +200,6 @@ if ($_POST) { $save = true; /* if we are processing a system gateway only save the monitorip */ if (!$save && (empty($_POST['gateway']) || $_POST['gateway'] == "dynamic")) { - if (is_ipaddr($_POST['monitor'])) { - if (empty($_POST['interface'])) - $interface = $pconfig['friendlyiface']; - else - $interface = $_POST['interface']; - if (!empty($interface)) - $config['interfaces'][$interface]['monitorip'] = $_POST['monitor']; - } /* when dynamic gateway is not anymore a default the entry is no more needed. */ if (isset($id) && $a_gateway_item[$id]) unset($a_gateway_item[$id]); |