summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_packet_capture.php
diff options
context:
space:
mode:
authorScott Dale <sdale@pfsense.org>2007-07-01 05:08:59 +0000
committerScott Dale <sdale@pfsense.org>2007-07-01 05:08:59 +0000
commit9f3259e081414931087f5ce6fc2834e26a3ddeeb (patch)
treeb086e66f33e045c47e73b5a48b0afc9164e334a6 /usr/local/www/diag_packet_capture.php
parent9aaf57ea89e6c99294271cf6f4eec73203a80de9 (diff)
downloadpfsense-9f3259e081414931087f5ce6fc2834e26a3ddeeb.zip
pfsense-9f3259e081414931087f5ce6fc2834e26a3ddeeb.tar.gz
set filename properly upon downloading capture
Diffstat (limited to 'usr/local/www/diag_packet_capture.php')
-rw-r--r--usr/local/www/diag_packet_capture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php
index 5f648ac..210b189 100644
--- a/usr/local/www/diag_packet_capture.php
+++ b/usr/local/www/diag_packet_capture.php
@@ -95,7 +95,7 @@ if ($_POST) {
{
$fs = filesize($fp.$fn);
header("Content-Type: application/octet-stream");
- header("Content-Disposition: attachment; filename=$fp.$fn");
+ header("Content-Disposition: attachment; filename=$fn");
header("Content-Length: $fs");
readfile($fp.$fn);
}
OpenPOWER on IntegriCloud