summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 2609690..3cd488e 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1278,7 +1278,7 @@ function generate_user_filter_rule($rule, $ngcounter) {
/* if user has selected a custom gateway, lets work with it */
if($rule['gateway'] <> "") {
$int = guess_interface_from_ip($rule['gateway']);
- $line .= " route-to (" . $int . " " . $rg . ") ";
+ $line .= " route-to (" . $int . " " . $rule['gateway'] . ") ";
}
/* Setup outgoing load balancing */
OpenPOWER on IntegriCloud