diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php index b10e79c336..07294b4450 100644 --- a/usr/local/www/diag_packet_capture.php +++ b/usr/local/www/diag_packet_capture.php @@ -88,7 +88,7 @@ if ($_POST) { exec("kill $process_id"); } - } else { + } elseif ($_POST['downloadbtn']!= "") { //download file $fs = filesize($fp.$fn); header("Content-Type: application/octet-stream"); @@ -222,8 +222,9 @@ include("fbegin.inc"); echo " "; } if (file_exists($fp.$fn) and $processisrunning != true) { + echo " "; echo ""; - echo "  (" . gettext("The packet capture file was last updated:") . " " . date("F jS, Y g:i:s a.", filemtime($fp.$fn)) . ")"; + echo "
" . gettext("The packet capture file was last updated:") . " " . date("F jS, Y g:i:s a.", filemtime($fp.$fn)); } ?>