summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-18 05:25:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-18 05:25:18 +0000
commit72b906c90f78b05c3c47b7f17ff88880a7f7e3b2 (patch)
tree3c8fc229652ad52b7ca9e6ee4c138f2235dff57c
parenteee6bcda3739a97a8b9a8bb9b4122d541c8c177f (diff)
downloadpfsense-72b906c90f78b05c3c47b7f17ff88880a7f7e3b2.zip
pfsense-72b906c90f78b05c3c47b7f17ff88880a7f7e3b2.tar.gz
Correct location of use_rrd_gateway.
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index e33a0d8..18c74a5 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -2976,7 +2976,7 @@ function enable_rrd_graphing() {
/* if an alternative gateway is defined, use it */
if ($config['interfaces'][$ifname]['use_rrd_gateway'] <> "") {
$gatewayip = get_interface_gateway($ifname);
- $monitorip = $config['system']['interfaces'][$ifname]['use_rrd_gateway'];
+ $monitorip = $config['interfaces'][$ifname]['use_rrd_gateway'];
mwexec("/sbin/route add -host {$monitorip} {$gatewayip} 1> /dev/null 2>&1");
} else {
$monitorip = get_interface_gateway($ifname);
OpenPOWER on IntegriCloud