summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-09-07 22:03:24 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-09-07 22:06:48 -0600
commit22d323b338ef35be05dbd97eb33d8f07517c38fb (patch)
tree6d2701ca2ff736dbe10f69f91dff286ba3958b95 /usr
parent392687e5633a663c1297363ff2d5d8e8f15298d7 (diff)
downloadpfsense-22d323b338ef35be05dbd97eb33d8f07517c38fb.zip
pfsense-22d323b338ef35be05dbd97eb33d8f07517c38fb.tar.gz
Fix variable name typo in status_services.php and fix return value of is_pid_running. Fixes #877
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_services.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index 3d4cfe0..cfeb959 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -328,7 +328,7 @@ foreach (array('server', 'client') as $mode) {
$pconfig['name'] = "openvpn";
$pconfig['mode'] = $mode;
$pconfig['id'] = $id;
- $pconfig['vpnid'] = $settings['vpnid'];
+ $pconfig['vpnid'] = $setting['vpnid'];
$pconfig['description'] = gettext("OpenVPN") . " ".$mode.": ".htmlspecialchars($setting['description']);
$services[] = $pconfig;
}
OpenPOWER on IntegriCloud