diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-11 23:56:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-11 23:56:33 +0000 |
commit | 263666bdf983ddf268c160c1441b2e32a12c6bc4 (patch) | |
tree | 2347e1a700b1df186b0af8102ae446d63f140c78 /etc | |
parent | e45f1216720879a02132f11dfeafd2e709610578 (diff) | |
download | pfsense-263666bdf983ddf268c160c1441b2e32a12c6bc4.zip pfsense-263666bdf983ddf268c160c1441b2e32a12c6bc4.tar.gz |
Create a blank array before working with it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 57cf056..508a23d 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -341,6 +341,7 @@ function filter_generate_aliases() { $aliases .= "# System Aliases \n"; $aliases .= "lan = \"{ " . $config['interfaces']['lan']['if'] . " }\"\n"; $aliases .= "wan = \"{ " . get_real_wan_interface() . " }\"\n"; + $ifdescrs = array(); for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) { $ifdescrs['opt' . $j] = "opt" . $j; } |