summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-11 23:56:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-11 23:56:33 +0000
commit263666bdf983ddf268c160c1441b2e32a12c6bc4 (patch)
tree2347e1a700b1df186b0af8102ae446d63f140c78
parente45f1216720879a02132f11dfeafd2e709610578 (diff)
downloadpfsense-263666bdf983ddf268c160c1441b2e32a12c6bc4.zip
pfsense-263666bdf983ddf268c160c1441b2e32a12c6bc4.tar.gz
Create a blank array before working with it.
-rw-r--r--etc/inc/filter.inc1
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;
}
OpenPOWER on IntegriCloud