diff options
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/diag_packet_capture.php | 8 |
1 files changed, 4 insertions, 4 deletions
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): ?> - <option value="<?=$iface;?>" <?php if (!link_interface_to_bridge($iface) && $selectedif == $iface) echo "selected"; ?>> + <option value="<?=$iface;?>" <?php if ($selectedif == $iface) echo "selected"; ?>> <?php echo $ifacename;?> </option> <?php endforeach;?> </select> - <br/><?=gettext("Select the interface the traffic will be passing through. Typically this will be the WAN interface.");?> + <br/><?=gettext("Select the interface on which to capture traffic. ");?> </td> </tr> <tr> @@ -148,7 +148,7 @@ include("fbegin.inc"); <td width="17%" valign="top" class="vncellreq"><?=gettext("Packet Length");?></td> <td width="83%" class="vtable"> <input name="snaplen" type="text" class="formfld unknown" id="snaplen" size="5" value="<?=$snaplen;?>"> - <br/><?=gettext("The Packet length is the number of bytes the packet will capture for each payload. Default value is 1500.");?> + <br/><?=gettext("The Packet length is the number of bytes of each packet that will be captured. Default value is 0, which will capture the entire frame regardless of its size.");?> </td> </tr> <tr> |