aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-02-20 01:11:09 +0000
committerColin Smith <colin@pfsense.org>2005-02-20 01:11:09 +0000
commite66a464510054caad24c39ec781e957420c2128a (patch)
treeaa1c13bf8c0b616daf7bf24c3b8b3447aa704e3e /packages
parent4815ff0ddfded359ffff36242fb175afc33492e5 (diff)
downloadpfsense-packages-e66a464510054caad24c39ec781e957420c2128a.tar.gz
pfsense-packages-e66a464510054caad24c39ec781e957420c2128a.tar.bz2
pfsense-packages-e66a464510054caad24c39ec781e957420c2128a.zip
Fix previously borked listen directives.
Diffstat (limited to 'packages')
-rw-r--r--packages/freeradiussettings.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/freeradiussettings.xml b/packages/freeradiussettings.xml
index ccd39e3a..e8cea6da 100644
--- a/packages/freeradiussettings.xml
+++ b/packages/freeradiussettings.xml
@@ -36,7 +36,8 @@
Function sync_package() {
global $config;
$fout = fopen("/usr/local/etc/raddb/radiusd.conf.dynamic","w");
- $int_ip = find_interface_ip($config['interfaces'][$_POST['interface']]['if']);
+ $int = $config['installedpackages']['freeradiussettings']['config']['0']['interface'];
+ $int_ip = find_interface_ip($int);
$port = $config['installedpackages']['freeradiussettings']['config'][0]['port'];
fwrite($fout, "{\nipaddr = " . $int_ip);
if($port != "") {