Revision d7be34a7
Added by Marcos M almost 3 years ago
src/etc/inc/auth.inc | ||
---|---|---|
1765 | 1765 |
if (empty($nasid)) { |
1766 | 1766 |
$nasid = gethostname(); //If no RADIUS NAS-Identifier is given : we use pfsense's hostname as NAS-Identifier |
1767 | 1767 |
} |
1768 |
$nasip = nasip_fallback($acctcfg['radius_nasip_attribute']);
|
|
1768 |
$nasip = nasip_fallback($authcfg['radius_nasip_attribute']);
|
|
1769 | 1769 |
$nasmac = get_interface_mac(find_ip_interface($nasip)); |
1770 | 1770 |
|
1771 | 1771 |
$rauth->putAttribute(RADIUS_NAS_IP_ADDRESS, $nasip, "addr"); |
Also available in: Unified diff
Get radius nas ip from correct variable. Fix #13356