From 68ed7d9d2001767be7f90132f8e23b05d34020f0 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Wed, 28 Jul 2010 19:32:11 -0400 Subject: fix text, use more sane default snaplen, remove bunk bridge check. Still one problem here, it doesn't display anything in the output box in the web interface though it's running the correct command and the pcap file is fine. --- usr/local/www/diag_packet_capture.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr/local/www/diag_packet_capture.php') diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php index e49d969..d7c779c 100644 --- a/usr/local/www/diag_packet_capture.php +++ b/usr/local/www/diag_packet_capture.php @@ -41,7 +41,7 @@ require_once("pfsense-utils.inc"); $fp = "/root/"; $fn = "packetcapture.cap"; -$snaplen = 1500;//default packet length +$snaplen = 0;//default packet length $count = 100;//default number of packets to capture if ($_POST) { @@ -119,12 +119,12 @@ include("fbegin.inc"); $interfaces = get_configured_interface_with_descr(); foreach ($interfaces as $iface => $ifacename): ?> - -
+
@@ -148,7 +148,7 @@ include("fbegin.inc"); -
+
-- cgit v1.1