summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/local/pkg/olsrd.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/pkg/olsrd.xml b/usr/local/pkg/olsrd.xml
index 7150541..3e24d3b 100644
--- a/usr/local/pkg/olsrd.xml
+++ b/usr/local/pkg/olsrd.xml
@@ -94,7 +94,7 @@
</field>
<field>
<fielddescr>Key</fielddescr>
- <fieldname>key</fieldname>
+ <fieldname>securekey</fieldname>
<description>Paste the secure key information here.</description>
<type>textarea</type>
<rows>5</rows>
@@ -105,7 +105,7 @@
</custom_delete_php_command>
<custom_php_resync_config_command>
$fd = fopen("/usr/local/etc/olsrkey.txt","w");
- fwrite($fd, $_POST['key']);
+ fwrite($fd, $_POST['securekey']);
fclose($fd);
foreach($_POST['interface_array'] as $iface) {
$if = convert_friendly_interface_to_real_interface_name($iface);
OpenPOWER on IntegriCloud