aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeradiussettings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/freeradiussettings.xml')
-rw-r--r--packages/freeradiussettings.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/freeradiussettings.xml b/packages/freeradiussettings.xml
index 8776f5f3..1087a3ce 100644
--- a/packages/freeradiussettings.xml
+++ b/packages/freeradiussettings.xml
@@ -1,5 +1,6 @@
<packagegui>
<name>freeradiussettings</name>
+ <title>FreeRADIUS: Settings</title>
<tabs>
<tab>
<text>Users</text>
@@ -21,7 +22,7 @@
<fielddescr>Listening Interface(s)</fielddescr>
<fieldname>interface</fieldname>
<description>Enter the desired listening interface(s) here</description>
- <type>input</type>
+ <type>interfaces_selection</type>
</field>
<field>
<fielddescr>Port</fielddescr>
@@ -48,13 +49,14 @@
$int_ip = find_interface_ip($int);
fwrite($fout, "{\nipaddr = " . $int_ip . "\n");
if($config['installedpackages']['freeradiussettings']['config']['port'] != "") {
- fwrite($fout, "port = " . $port . "\n");
+ fwrite($fout, "port = " . $config['installedpackages']['freeradiussettings']['config']['port'] . "\n");
} else {
fwrite($fout, "port = 0\n");
}
- fwrite($fout, "type = auth\n}";
+ fwrite($fout, "type = auth\n}");
}
}
+ }
fclose($fout);
}
sync_package();