summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-17 19:22:52 +0000
committerErmal <eri@pfsense.org>2010-06-17 19:22:52 +0000
commit822b687b162a5022d9d687cf98867149e1af126f (patch)
tree17641bb98ef8d6e8e8df31dfb86a5e5e60e7f191 /usr/local/captiveportal
parent7af53acecd3b0c4b8c78a17992513bf9b4f75f35 (diff)
downloadpfsense-822b687b162a5022d9d687cf98867149e1af126f.zip
pfsense-822b687b162a5022d9d687cf98867149e1af126f.tar.gz
Do not assume WAN as the default interface to get the ip from for the calling station id. Instead add a select box(list) to choose the interface(ip) to send to radius.
Diffstat (limited to 'usr/local/captiveportal')
-rw-r--r--usr/local/captiveportal/radius_authentication.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/radius_authentication.inc b/usr/local/captiveportal/radius_authentication.inc
index 7f37b03..bd5b74e 100644
--- a/usr/local/captiveportal/radius_authentication.inc
+++ b/usr/local/captiveportal/radius_authentication.inc
@@ -66,7 +66,7 @@ function RADIUS_AUTHENTICATION($username,$password,$radiusservers,$clientip,$cli
break;
default:
- $calledstationid = get_interface_ip("wan");
+ $calledstationid = get_interface_ip($config['captiveportal']['radiussrcip_attribute']);
$callingstationid = $clientmac;
}
OpenPOWER on IntegriCloud