summaryrefslogtreecommitdiffstats
path: root/usr/local/pkg/miniupnpd.xml
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-05-07 12:08:09 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-05-07 12:08:09 -0300
commitb27c5cbf3e8d8969bce26d9b46f1a426d238185e (patch)
tree1540e6c4367e6944814ac69b75ade4a73b5cc5fe /usr/local/pkg/miniupnpd.xml
parent79b0035d2ed166be340fcf628744e319200d06d2 (diff)
downloadpfsense-b27c5cbf3e8d8969bce26d9b46f1a426d238185e.zip
pfsense-b27c5cbf3e8d8969bce26d9b46f1a426d238185e.tar.gz
Use 'interfaces_selection' type to miniupnp fields
Diffstat (limited to 'usr/local/pkg/miniupnpd.xml')
-rw-r--r--usr/local/pkg/miniupnpd.xml15
1 files changed, 4 insertions, 11 deletions
diff --git a/usr/local/pkg/miniupnpd.xml b/usr/local/pkg/miniupnpd.xml
index e15bbd7..33d8ac4 100644
--- a/usr/local/pkg/miniupnpd.xml
+++ b/usr/local/pkg/miniupnpd.xml
@@ -59,11 +59,8 @@
<fielddescr>External Interface (generally WAN)</fielddescr>
<fieldname>ext_iface</fieldname>
<default_value>wan</default_value>
- <size>3</size>
- <type>select_source</type>
- <source><![CDATA[get_pkg_interfaces_select_source(false)]]></source>
- <source_name>name</source_name>
- <source_value>value</source_value>
+ <type>interfaces_selection</type>
+ <hideinterfaceregex>loopback</hideinterfaceregex>
<description>Select only your primary WAN interface (interface with your default route). Only one interface is allowed here, not multiple.</description>
<required/>
</field>
@@ -71,14 +68,10 @@
<fielddescr>Interfaces (generally LAN)</fielddescr>
<fieldname>iface_array</fieldname>
<default_value>lan</default_value>
- <multiple>true</multiple>
- <size>3</size>
- <type>select_source</type>
- <source><![CDATA[get_pkg_interfaces_select_source(true)]]></source>
- <source_name>name</source_name>
- <source_value>value</source_value>
+ <type>interfaces_selection</type>
<description>You can use the CTRL or COMMAND key to select multiple interfaces.</description>
<required/>
+ <multiple/>
</field>
<field>
<fielddescr>Maximum Download Speed (Kbits/second)</fielddescr>
OpenPOWER on IntegriCloud