aboutsummaryrefslogtreecommitdiffstats
path: root/config/packetcapturefix/packetcapturefix.patch
diff options
context:
space:
mode:
authorSerg <dv_serg@mail.ru>2010-05-31 18:13:00 +0400
committerSerg <dv_serg@mail.ru>2010-05-31 18:13:00 +0400
commit2c6c0041948c7aff0839ec04184823db657a50fe (patch)
treeb8ff2cb84f7948a6afa086d219c0776c7b3446ce /config/packetcapturefix/packetcapturefix.patch
parent3ef5e82b00684622f5a867f8abd04d8b428e5b86 (diff)
parent757aac255a92737958dc36c4bd2ae427e85122f6 (diff)
downloadpfsense-packages-2c6c0041948c7aff0839ec04184823db657a50fe.tar.gz
pfsense-packages-2c6c0041948c7aff0839ec04184823db657a50fe.tar.bz2
pfsense-packages-2c6c0041948c7aff0839ec04184823db657a50fe.zip
Merge branch 'master' of http://gitweb.pfsense.org/pfsense-packages/mainline
Diffstat (limited to 'config/packetcapturefix/packetcapturefix.patch')
-rw-r--r--config/packetcapturefix/packetcapturefix.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/config/packetcapturefix/packetcapturefix.patch b/config/packetcapturefix/packetcapturefix.patch
new file mode 100644
index 00000000..659fdd10
--- /dev/null
+++ b/config/packetcapturefix/packetcapturefix.patch
@@ -0,0 +1,23 @@
+diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php
+index 69fd677..91d61cd 100644
+--- a/usr/local/www/diag_packet_capture.php
++++ b/usr/local/www/diag_packet_capture.php
+@@ -265,6 +265,9 @@ include("head.inc"); ?>
+ <textarea style="width:98%" name="code" rows="15" cols="66" wrap="off" readonly="readonly">
+ <?php
+ system ("/usr/sbin/tcpdump $disabledns $detail -r $fp$fn");?>
++
++ conf_mount_ro();
++
+ </textarea><?php
+ }
+ }?>
+@@ -277,8 +280,6 @@ include("head.inc"); ?>
+ </td></tr></table>
+ <?php
+
+-conf_mount_ro();
+-
+ include("fend.inc");
+
+ ?>