summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-15 18:49:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-15 18:49:21 +0000
commit910c33ea799208da7bb8b747f64d393a57c2ecc9 (patch)
treef5eecf9b89e90044f742fb07e455b9a41e57d67d /etc
parent0b5e3f187410fb9e9b5da8d0f64da9e02c2af760 (diff)
downloadpfsense-910c33ea799208da7bb8b747f64d393a57c2ecc9.zip
pfsense-910c33ea799208da7bb8b747f64d393a57c2ecc9.tar.gz
Init $counter
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index dad996d..ba71d6f 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -237,6 +237,9 @@ function filter_generate_aliases() {
$aliases .= "lan = \"{ {$config['interfaces']['lan']['if']}{$lan_aliases} }\"\n";
$aliases .= "wan = \"{ " . get_real_wan_interface() . "{$wan_aliases} }\"\n";
+ /* used to count netgraph interfaces */
+ $counter = 0;
+
/* ng ordering is VERY important here. do not alter orer */
if($config['pptpd']['mode'] == "server") {
/* build pptp alias */
OpenPOWER on IntegriCloud