summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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