diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-23 23:34:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-23 23:34:46 +0000 |
commit | 30a045ba1bfbdd9c1f46e93ad95017f7ac2c7e30 (patch) | |
tree | c58618c5548889b477c0e9789105ef5e4dd26c48 | |
parent | 4a157de53fc9cba546c7149d60b1fc85734704c9 (diff) | |
download | pfsense-30a045ba1bfbdd9c1f46e93ad95017f7ac2c7e30.zip pfsense-30a045ba1bfbdd9c1f46e93ad95017f7ac2c7e30.tar.gz |
Expand "Announce Dynamic local route" to textarea
Ticket #1071
-rw-r--r-- | usr/local/pkg/olsrd.xml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/usr/local/pkg/olsrd.xml b/usr/local/pkg/olsrd.xml index 55811d8..85c3e6b 100644 --- a/usr/local/pkg/olsrd.xml +++ b/usr/local/pkg/olsrd.xml @@ -17,7 +17,7 @@ <tab> <text>OLSRD Settings</text> <url>/pkg_edit.php?xml=olsrd.xml&id=0</url> - <active/> + <active/> </tab> </tabs> <additional_files_needed> @@ -43,11 +43,11 @@ <type>select</type> <size>1</size> <options> - <option><value>2</value><name>2</name></option> + <option><value>2</value><name>2</name></option> <option><value>0</value><name>0</name></option> <option><value>1</value><name>1</name></option> </options> - </field> + </field> <field> <fielddescr>Interfaces</fielddescr> <fieldname>iface_array</fieldname> @@ -68,7 +68,7 @@ <fieldname>port</fieldname> <description>Port that HTTPInfo will listen on</description> <type>input</type> - </field> + </field> <field> <fielddescr>Allowed host(s)</fielddescr> <fieldname>allowedhttpinfohost</fieldname> @@ -97,8 +97,10 @@ <fielddescr>Announce Dynamic local route</fielddescr> <fieldname>announcedynamicroute</fieldname> <description>Enter the IP/Netmask</description> - <type>input</type> - </field> + <type>textarea</type> + <rows>3</rows> + <cols>50</cols> + </field> <field> <fielddescr>Ping</fielddescr> <fieldname>ping</fieldname> @@ -110,7 +112,7 @@ <fieldname>polling</fieldname> <description>How often to look for a inet gw, in seconds.</description> <type>input</type> - </field> + </field> <field> <fielddescr>Enable Secure Mode</fielddescr> <fieldname>enabledsecure</fieldname> @@ -133,7 +135,7 @@ $fd = fopen("/usr/local/etc/olsrkey.txt","w"); fwrite($fd, $_POST['securekey']); fclose($fd); - setup_wireless_olsr($if); + setup_wireless_olsr($if); conf_mount_ro(); </custom_php_resync_config_command> <custom_php_install_command> |