Revision 35e1cbde
Added by Jim Pingle over 9 years ago
src/usr/local/www/diag_packet_capture.php | ||
---|---|---|
149 | 149 |
if ($_POST) { |
150 | 150 |
$host = $_POST['host']; |
151 | 151 |
$selectedif = $_POST['interface']; |
152 |
$promiscuous = isset($_POST['promiscuous']); |
|
152 | 153 |
$count = $_POST['count']; |
153 | 154 |
$snaplen = $_POST['snaplen']; |
154 | 155 |
$port = $_POST['port']; |
... | ... | |
306 | 307 |
'promiscuous', |
307 | 308 |
'Promiscuous', |
308 | 309 |
'Packet capture will be performed using promiscuous mode', |
309 |
$pconfig['promiscuous']
|
|
310 |
$promiscuous
|
|
310 | 311 |
))->setHelp('Note: Some network adapters do not support or work well in promiscuous mode.'. '<br />' . |
311 | 312 |
'More: ' . '<a target="_blank" href="http://www.freebsd.org/cgi/man.cgi?query=tcpdump&apropos=0&sektion=0&manpath=FreeBSD+8.3-stable&arch=default&format=html">' . |
312 | 313 |
'Packet capture' . '</a>'); |
Also available in: Unified diff
Fix handling of promicuous checkbox on packet capture. Fixes #5896