summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-01-21 22:19:42 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-01-21 22:19:42 +0000
commit297363aff100fe9e97922f4a0dcbcc476319d7f9 (patch)
tree9d523992b6f35b117ab2b2e511d46b81ad1deb95 /etc
parentc25998b98a40dffdb9dc5ef0f3031a741d823b0d (diff)
downloadpfsense-297363aff100fe9e97922f4a0dcbcc476319d7f9.zip
pfsense-297363aff100fe9e97922f4a0dcbcc476319d7f9.tar.gz
Don't guess interface, we know.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 43eabf0..3cfff29 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1420,8 +1420,7 @@ function generate_user_filter_rule($rule, $ngcounter) {
if ($lbsvr_split[1] == $server) {
/* deterimine interface gateway */
if(is_ipaddr($lbsvr_split[0])) {
- $int = guess_interface_from_ip($lbsvr_split[0]);
- $int = convert_friendly_interface_to_real_interface_name($int);
+ $int = find_ip_interface($lbsvr_split[0]);
log_error("Load balancer pool member contains IP address instead of interface name. Please reconfigure the load balancer pool {$config['load_balancer']['lbpool'][$i]['name']}");
} else {
$int = convert_friendly_interface_to_real_interface_name($lbsvr_split[0]);
OpenPOWER on IntegriCloud