summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_edit.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-10-05 18:48:32 +0000
committerErmal Luçi <eri@pfsense.org>2009-10-05 18:49:42 +0000
commit203de6bf85842920513168600e4f397a41c13b7b (patch)
treeb661f0cc8b139b1048d4413892e4e699100ce9ca /usr/local/www/pkg_edit.php
parent8586a962022b11a791baa0e9184f49c5156850f1 (diff)
downloadpfsense-203de6bf85842920513168600e4f397a41c13b7b.zip
pfsense-203de6bf85842920513168600e4f397a41c13b7b.tar.gz
Remove support for all_interfaces from wizard.php it is not used anywhere. Convert the interfaces_selection to use the interface API.
Diffstat (limited to 'usr/local/www/pkg_edit.php')
-rwxr-xr-xusr/local/www/pkg_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 675899a..841eedb 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -465,7 +465,7 @@ if ($pkg['tabs'] <> "") {
if (isset($pkga['all_interfaces']))
$ifaces = explode(' ', trim(shell_exec('ifconfig -l')));
else
- $ifaces = $config['interfaces'];
+ $ifaces = get_configured_interface_with_descr();
$additional_ifaces = $pkga['add_to_interfaces_selection'];
if (!empty($additional_ifaces))
$ifaces = array_merge($ifaces, explode(',', $additional_ifaces));
OpenPOWER on IntegriCloud