summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-10-01 09:10:49 +0700
committergnhb <gnoahb@gmail.com>2010-10-01 09:10:49 +0700
commit80a5b5f7e61dc8ed1a7928149506650956b8bb86 (patch)
treed1b0cf759d780fd598b0d297edbf7665503aa52f
parent24d4a390501d843243d83f882ee97ab952ed1353 (diff)
downloadpfsense-80a5b5f7e61dc8ed1a7928149506650956b8bb86.zip
pfsense-80a5b5f7e61dc8ed1a7928149506650956b8bb86.tar.gz
We don't store monitor ip in the <interfaces> config any more.
Requested by cbuechler in ticket #919.
-rwxr-xr-xusr/local/www/system_gateways_edit.php8
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]);
OpenPOWER on IntegriCloud