|
= 6) $pgtitle = array("OpenBGPD", "Status"); else $pgtitle = "OpenBGPD: Status"; include("head.inc"); function doCmdT($title, $command) { echo "
\n"; echo "\n"; echo "
" . $title . " |
"; /* no newline after pre */ if ($command == "dumpconfigxml") { $fd = @fopen("/conf/config.xml", "r"); if ($fd) { while (!feof($fd)) { $line = fgets($fd); /* remove sensitive contents */ $line = preg_replace("/ |
This status page includes the following information:\n"; echo "
|