summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_openvpn.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/status_openvpn.php')
-rw-r--r--src/usr/local/www/status_openvpn.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/status_openvpn.php b/src/usr/local/www/status_openvpn.php
index 6cd30b7..36f1008 100644
--- a/src/usr/local/www/status_openvpn.php
+++ b/src/usr/local/www/status_openvpn.php
@@ -73,8 +73,8 @@ require_once("shortcuts.inc");
require_once("service-utils.inc");
/* Handle AJAX */
-if($_GET['action']) {
- if($_GET['action'] == "kill") {
+if ($_GET['action']) {
+ if ($_GET['action'] == "kill") {
$port = $_GET['port'];
$remipp = $_GET['remipp'];
if (!empty($port) and !empty($remipp)) {
@@ -152,7 +152,7 @@ include("head.inc"); ?>
function killComplete(req) {
var values = req.responseText.split("|");
- if(values[3] != "0") {
+ if (values[3] != "0") {
alert('<?=gettext("An error occurred.");?>' + ' (' + values[3] + ')');
return;
}
OpenPOWER on IntegriCloud