diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-21 01:55:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-21 01:55:03 +0000 |
commit | e6d5210c430f3f620cd0ca74844643502e35ee62 (patch) | |
tree | 200b84942b2ac9a34998b4f8bc06fc9c05064d71 | |
parent | f0f2b6eebeec39d5aec38814cda38f25698c21e3 (diff) | |
download | pfsense-e6d5210c430f3f620cd0ca74844643502e35ee62.zip pfsense-e6d5210c430f3f620cd0ca74844643502e35ee62.tar.gz |
Fix default route gateway bug.
Reported-by: billm
-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 */ |