summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-09 17:32:42 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-09 17:33:35 -0400
commit9aef654c6327ecba2567563bd7ab01d005a3b427 (patch)
tree57192db4d032354b3649e93261058d92b446afc6
parent47c8b0369007eea4f78ea6c158e2ccd4a8839aea (diff)
downloadpfsense-9aef654c6327ecba2567563bd7ab01d005a3b427.zip
pfsense-9aef654c6327ecba2567563bd7ab01d005a3b427.tar.gz
Correctly fill in route-to interface name instead of "opt1"
-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 81e7ce3..e6ef112 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1313,7 +1313,7 @@ function generate_user_filter_rule($rule)
} else {
$gwip = $gateway;
$int = guess_interface_from_ip($gwip);
- }
+ } $int = convert_friendly_interface_to_real_interface_name($int);
if (is_ipaddr($gwip) && ($int <> ""))
$aline['route'] = " route-to ( {$int} {$gwip} ) ";
else
OpenPOWER on IntegriCloud