summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-07-28 14:31:31 -0400
committerjim-p <jimp@pfsense.org>2011-07-28 14:33:13 -0400
commit778772383bc643d80f27d3e90691e467bab9e681 (patch)
treefe077caf380eeb7dc30719d0e5264e8831d26b22 /usr
parent89fae3e74ce776e4ac0450bf9339032fe096513f (diff)
downloadpfsense-778772383bc643d80f27d3e90691e467bab9e681.zip
pfsense-778772383bc643d80f27d3e90691e467bab9e681.tar.gz
Move the textarea displaying packet capture outside of the form tag, or else a browser will try to submit the contents of the textarea when hitting a button. If you were viewing a large capture, that can be quite a long time it's wasting on uploading data that serves no purpose.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/diag_packet_capture.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php
index 0f14e64..b10e79c 100644
--- a/usr/local/www/diag_packet_capture.php
+++ b/usr/local/www/diag_packet_capture.php
@@ -228,6 +228,9 @@ include("fbegin.inc");
?>
</td>
</tr>
+ </table>
+ </form>
+ <table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td valign="top" colspan="2">
<?php
@@ -282,7 +285,6 @@ include("fbegin.inc");
</td>
</tr>
</table>
- </form>
</td></tr>
</table>
OpenPOWER on IntegriCloud