summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-21 16:23:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-21 16:23:43 +0000
commit5370388a3acc409ffcb700974bf5e121184d8ab1 (patch)
treed17d3991f7acba8e0a7bfffebb77230b89f2dc68 /usr
parentff091d96117d0e821271ed9b4c5ff6590ff5146f (diff)
downloadpfsense-5370388a3acc409ffcb700974bf5e121184d8ab1.zip
pfsense-5370388a3acc409ffcb700974bf5e121184d8ab1.tar.gz
Fix eclipse errors
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/diag_packet_capture.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php
index 579f125..6cd3424 100644
--- a/usr/local/www/diag_packet_capture.php
+++ b/usr/local/www/diag_packet_capture.php
@@ -33,6 +33,9 @@ $snaplen = 1500;//default packet length
$count = 100;//default number of packets to capture
function get_interface_addr($if) {
+ global $config;
+
+ $ifdescr = convert_friendly_interface_to_friendly_descr($if);
/* find out interface name */
if ($ifdescr == "wan")
OpenPOWER on IntegriCloud