diff options
-rw-r--r-- | etc/inc/filter.inc | 2 |
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 */ |