summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-18 19:50:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-18 19:50:55 +0000
commit986c54f4062733d53bd0bcc25b5664f434ccdec8 (patch)
treee1d46312c96b7b1646d782be2edbc70ec48e52cb
parent2ea778c2ba3b2aed739006fb99d555870d20ea53 (diff)
downloadpfsense-986c54f4062733d53bd0bcc25b5664f434ccdec8.zip
pfsense-986c54f4062733d53bd0bcc25b5664f434ccdec8.tar.gz
Include real wan interface in ng0 alias grou[
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 2167589..98077f1 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -238,7 +238,7 @@ function filter_generate_aliases() {
$aliases .= "wan = \"{ " . get_real_wan_interface() . "{$wan_aliases} }\"\n";
if($config['interfaces']['wan']['ipaddr'] == "pppoe")
- $aliases .= "ng0 = \"{ " . $config['interfaces']['wan']['if'] . " }\" \n";
+ $aliases .= "ng0 = \"{ " . $config['interfaces']['wan']['if'] . " " . get_real_wan_interface() . " }\" \n";
/* used to count netgraph interfaces */
$counter = 0;
OpenPOWER on IntegriCloud