aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeradiussettings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/freeradiussettings.xml')
-rw-r--r--packages/freeradiussettings.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/freeradiussettings.xml b/packages/freeradiussettings.xml
index ac157dc2..76c9be13 100644
--- a/packages/freeradiussettings.xml
+++ b/packages/freeradiussettings.xml
@@ -39,7 +39,7 @@
global $config;
$fout = fopen("/usr/local/etc/raddb/radiusd.conf.dynamic","w");
fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n");
- $int = $config['installedpackages']['freeradiussettings']['config']['0']['interface'];
+ $int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['freeradiussettings']['config']['0']['interface']);
$int_ip = find_interface_ip($int);
$port = $config['installedpackages']['freeradiussettings']['config'][0]['port'];
fwrite($fout, "{\nipaddr = " . $int_ip);