From 986c54f4062733d53bd0bcc25b5664f434ccdec8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 18 Mar 2006 19:50:55 +0000 Subject: Include real wan interface in ng0 alias grou[ --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1