diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-15 03:33:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-15 03:33:18 +0000 |
commit | 767a716ecd96105621e239633c04651a02bd8fb8 (patch) | |
tree | a9455173dba67b71599f611cb3eebb6aaa584745 /usr/local/www/diag_ping.php | |
parent | 3e789a8b1385cbd0ccc952b7eac5e1e01ff1a478 (diff) | |
download | pfsense-767a716ecd96105621e239633c04651a02bd8fb8.zip pfsense-767a716ecd96105621e239633c04651a02bd8fb8.tar.gz |
Correct warnings and errors found eclipse
Diffstat (limited to 'usr/local/www/diag_ping.php')
-rwxr-xr-x | usr/local/www/diag_ping.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/diag_ping.php b/usr/local/www/diag_ping.php index 81d2f7a..5dee4d6 100755 --- a/usr/local/www/diag_ping.php +++ b/usr/local/www/diag_ping.php @@ -71,6 +71,8 @@ function get_interface_addr($ifdescr) { $if = $config['interfaces'][$ifdescr]['if']; /* try to determine IP address and netmask with ifconfig */ + $ifconfiginfo = ""; + $matches = ""; unset($ifconfiginfo); exec("/sbin/ifconfig " . $if, $ifconfiginfo); |