aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeradiussettings.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-02 18:32:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-02 18:32:03 +0000
commit1dab7314452292bbe2e659f5c3051b1361048612 (patch)
tree310f090fa5d7d89238c328698e7e74e23491b226 /packages/freeradiussettings.xml
parentb35f0886af98d30af01b2c049b4bb9ae0e0c1e0f (diff)
downloadpfsense-packages-1dab7314452292bbe2e659f5c3051b1361048612.tar.gz
pfsense-packages-1dab7314452292bbe2e659f5c3051b1361048612.tar.bz2
pfsense-packages-1dab7314452292bbe2e659f5c3051b1361048612.zip
* Use convert_friendly_interface_to_real_interface_name
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);