aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorNachtfalkeaw <nachtfalkeaw@web.de>2011-11-01 21:20:55 +0100
committerNachtfalkeaw <nachtfalkeaw@web.de>2011-11-01 21:20:55 +0100
commit55ade6d3d33b6037a2bba13f98e89963a8fd1e83 (patch)
treefab06ebdd960ee1a05a508b8510e2f8e3784b615 /config
parentb4542701c3f275b74a309f0db7682086b6d7b461 (diff)
downloadpfsense-packages-55ade6d3d33b6037a2bba13f98e89963a8fd1e83.tar.gz
pfsense-packages-55ade6d3d33b6037a2bba13f98e89963a8fd1e83.tar.bz2
pfsense-packages-55ade6d3d33b6037a2bba13f98e89963a8fd1e83.zip
freeRADIUS: Modify interface selection so that we can enter one IP address or " * " for any interface. Loopback isn't working. Should fix this: http://forum.pfsense.org/index.php/topic,42575.0.html
Diffstat (limited to 'config')
-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