diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-03-21 16:23:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-03-21 16:23:43 +0000 |
commit | 5370388a3acc409ffcb700974bf5e121184d8ab1 (patch) | |
tree | d17d3991f7acba8e0a7bfffebb77230b89f2dc68 | |
parent | ff091d96117d0e821271ed9b4c5ff6590ff5146f (diff) | |
download | pfsense-5370388a3acc409ffcb700974bf5e121184d8ab1.zip pfsense-5370388a3acc409ffcb700974bf5e121184d8ab1.tar.gz |
Fix eclipse errors
-rw-r--r-- | usr/local/www/diag_packet_capture.php | 3 |
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") |