diff options
author | Chris Buechler <cmb@cmb-macbook-pro-4.local> | 2010-01-13 16:33:28 -0500 |
---|---|---|
committer | Chris Buechler <cmb@cmb-macbook-pro-4.local> | 2010-01-13 16:33:28 -0500 |
commit | f426f89e7228dedcccefd22b32142e6fe1041399 (patch) | |
tree | a3dc7e4bc72746bb253ae8860c6505626961f612 /usr/local/www/diag_packet_capture.php | |
parent | 9f007e8c10978eea0ba6b50064cdec773437c974 (diff) | |
download | pfsense-f426f89e7228dedcccefd22b32142e6fe1041399.zip pfsense-f426f89e7228dedcccefd22b32142e6fe1041399.tar.gz |
fix packet capture. php5 apparently doesn't like " with shell_exec
Diffstat (limited to 'usr/local/www/diag_packet_capture.php')
-rw-r--r-- | usr/local/www/diag_packet_capture.php | 2 |
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 d4b19ba..b7d0b1f 100644 --- a/usr/local/www/diag_packet_capture.php +++ b/usr/local/www/diag_packet_capture.php @@ -72,7 +72,7 @@ if ($_POST) { } elseif ($_POST['stopbtn']!= "") { $action = "Stop"; - $processes_running = trim(shell_exec("/bin/ps axw -O pid= | /usr/bin/grep tcpdump | /usr/bin/grep $fn | /usr/bin/grep -v pflog")); + $processes_running = trim(shell_exec('/bin/ps axw -O pid= | /usr/bin/grep tcpdump | /usr/bin/grep $fn | /usr/bin/grep -v pflog')); //explode processes into an array, (delimiter is new line) $processes_running_array = explode("\n", $processes_running); |