summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-18 10:12:58 -0400
committerjim-p <jimp@pfsense.org>2012-06-18 10:12:58 -0400
commit20e7e4445d05f14a79efd33fe81ce32ae6dc3f92 (patch)
tree923223c46e0968b048dc6fe03a49b58b2f9d40f3 /usr/local/www
parent2e2eb01283e05e6dcdbc9e0028ac49e7adf96a7e (diff)
downloadpfsense-20e7e4445d05f14a79efd33fe81ce32ae6dc3f92.zip
pfsense-20e7e4445d05f14a79efd33fe81ce32ae6dc3f92.tar.gz
Correct variable name. Fixes packet capture interface validation.
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/diag_packet_capture.php2
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 64df956..c32375a 100644
--- a/usr/local/www/diag_packet_capture.php
+++ b/usr/local/www/diag_packet_capture.php
@@ -77,7 +77,7 @@ if ($_POST) {
$fam = $_POST['fam'];
$proto = $_POST['proto'];
- if (!array_key_exists($interface, $interfaces)) {
+ if (!array_key_exists($selectedif, $interfaces)) {
$input_errors[] = gettext("Invalid interface.");
}
if ($fam !== "" && $fam !== "ip" && $fam !== "ip6") {
OpenPOWER on IntegriCloud