aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/openbgpd/openbgpd_status.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php
index 4ed644bd..99076d12 100644
--- a/config/openbgpd/openbgpd_status.php
+++ b/config/openbgpd/openbgpd_status.php
@@ -201,9 +201,8 @@ function execCmds() {
// First line contain field id to be updated
var responseTextArr = transport.responseText.split("\n");
var id = responseTextArr.shift();
- var result = responseTextArr.join("\n");
- document.getElementById(id).textContent = result;
+ document.getElementById(id).textContent = responseTextArr.join("\n");
}
//]]>