From e66a464510054caad24c39ec781e957420c2128a Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sun, 20 Feb 2005 01:11:09 +0000 Subject: Fix previously borked listen directives. --- packages/freeradiussettings.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 != "") { -- cgit v1.2.3