summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-05-06 22:12:22 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-05-06 22:12:22 +0000
commitaacd6b3dcc8bc76c3d7f54945a8092121d2cdd1c (patch)
tree2f97cac41db1d82b77c1e95eeaecf89a8e884272
parent017ceb5e2d69347e48314be01e4f69483418961d (diff)
downloadpfsense-aacd6b3dcc8bc76c3d7f54945a8092121d2cdd1c.zip
pfsense-aacd6b3dcc8bc76c3d7f54945a8092121d2cdd1c.tar.gz
get_interface_gateway() does not understand pppoe
-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 e56053f..366af16 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1646,7 +1646,7 @@ function generate_user_filter_rule($rule, $ngcounter) {
log_error("SLBD pool {$lb['name']} is old style. Please recreate.");
} else if(interface_has_gateway($lbconfig['gateway'][$l])) {
$int = convert_friendly_interface_to_real_interface_name($lbconfig['gateway'][$l]);
- $gateway = get_interface_gateway($int);
+ $gateway = get_interface_gateway($lbconfig['gateway'][$l]);
}
if(($int <> "") && ($gateway <> "")) {
log_error("Setting up route with {$lbconfig['gateway'][$l]} om $int for monitor {$lbconfig['monitor'][$l]} on gateway $gateway");
OpenPOWER on IntegriCloud