summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-04-08 11:50:10 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-04-08 11:50:10 +0000
commit530c00446d9c07e8f3490b656504aacbc44f0dfa (patch)
treeeb97ac5520e27a2074c724159007ad9aad4e2dab /etc/inc
parentecd43b7fbeadd703d0aabe4fa8303dfe13e6a94b (diff)
downloadpfsense-530c00446d9c07e8f3490b656504aacbc44f0dfa.zip
pfsense-530c00446d9c07e8f3490b656504aacbc44f0dfa.tar.gz
Correct rrd_gateway path
Diffstat (limited to 'etc/inc')
-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 3529e3b..b8f5db7 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -2896,7 +2896,7 @@ function enable_rrd_graphing() {
$rrdupdatesh .= "`$netstat -nbf link -I {$realif} | $awk '{getline 2;print \$5 \":\" \$8}'`\n";
}
/* if an alternative gateway is defined, use it */
- if ($config['system']['interfaces'][$ifname]['use_rrd_gateway'] <> "") {
+ if ($config['interfaces'][$ifname]['use_rrd_gateway'] <> "") {
$gatewayip = get_interface_gateway($ifname);
$monitorip = $config['system']['interfaces'][$ifname]['use_rrd_gateway'];
mwexec("/sbin/route add -host {$monitorip} {$gatewayip} 1> /dev/null 2>&1");
OpenPOWER on IntegriCloud