aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2011-11-11 08:28:00 -0800
committerJim P <jim@pingle.org>2011-11-11 08:28:00 -0800
commit980a015378eb735bedce3e994db62b6e0311703f (patch)
tree390c99244fe76c80dadee4ab785d0fb0ed17c266
parentd0c467f2e9906421c2accc2d97b6f55057736e70 (diff)
parent55ade6d3d33b6037a2bba13f98e89963a8fd1e83 (diff)
downloadpfsense-packages-980a015378eb735bedce3e994db62b6e0311703f.tar.gz
pfsense-packages-980a015378eb735bedce3e994db62b6e0311703f.tar.bz2
pfsense-packages-980a015378eb735bedce3e994db62b6e0311703f.zip
Merge pull request #100 from Nachtfalkeaw/patch-46
freeRADIUS: Modify interface selection so that we can enter one IP addres
-rw-r--r--config/freeradius.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/freeradius.inc b/config/freeradius.inc
index 87c6af36..6f0b1f38 100644
--- a/config/freeradius.inc
+++ b/config/freeradius.inc
@@ -40,6 +40,7 @@ function freeradius_settings_resync() {
$iface = ($settings['interface'] ? $settings['interface'] : 'LAN');
$iface = convert_friendly_interface_to_real_interface_name($iface);
$iface_ip = find_interface_ip($iface);
+ $interface_ip = $settings['interface_ip'];
$port = ($settings['port'] != '' ? $settings['port'] : 0);
$radiuslogging = $settings['radiuslogging'];
$radiuslogbadpass = $settings['radiuslogbadpass'];
@@ -71,7 +72,7 @@ max_request_time = $max_request_time_var
delete_blocked_requests = no
cleanup_delay = $cleanup_delay_var
max_requests = $max_requests_var
-bind_address = $iface_ip
+bind_address = $interface_ip
port = $port
hostname_lookups = no
allow_core_dumps = no