diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-03-16 08:56:58 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-03-16 08:56:58 -0300 |
commit | 2abfec49c6d28b25f56e4a0487670f6b41bf3424 (patch) | |
tree | 37e4d7ebb23da23666a7ce22a98a02d67d88fc8a /usr | |
parent | fba196c34bc06b6c60b331e46b4cc34ee9079a03 (diff) | |
download | pfsense-2abfec49c6d28b25f56e4a0487670f6b41bf3424.zip pfsense-2abfec49c6d28b25f56e4a0487670f6b41bf3424.tar.gz |
Initialize array to silence warnings on foreach
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/sbin/prefixes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/sbin/prefixes.php b/usr/local/sbin/prefixes.php index af915e3..b0920cb 100644 --- a/usr/local/sbin/prefixes.php +++ b/usr/local/sbin/prefixes.php @@ -5,6 +5,7 @@ if(!file_exists($leases_file)) { exit(1); } +$duid_arr = array(); foreach(file($leases_file) as $line) { // echo "$line"; if(preg_match("/^(ia-[np][ad])[ ]+\"(.*?)\"/i ", $line, $duidmatch)) { |