From 55ade6d3d33b6037a2bba13f98e89963a8fd1e83 Mon Sep 17 00:00:00 2001 From: Nachtfalkeaw Date: Tue, 1 Nov 2011 21:20:55 +0100 Subject: 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 --- config/freeradius.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3