summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-31 00:36:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-31 00:36:06 +0000
commit34591684be46a603b90e57a67718b811e14c0f05 (patch)
tree72cfa7eaaf340cb967e9161396f8dd8a86443465 /usr
parent7f3473592d00fd169d90251da92fdb4c3b807e66 (diff)
downloadpfsense-34591684be46a603b90e57a67718b811e14c0f05.zip
pfsense-34591684be46a603b90e57a67718b811e14c0f05.tar.gz
Look at the correct field to deterimine which item should be selected in the interfaces_selection widget
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 805f8ad..3ac2429 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -366,8 +366,9 @@ if ($pkg['tabs'] <> "") {
$ifdescr = strtoupper($ifname);
$ifname = $iface['descr'];
$SELECTED = "";
- if($value == $ifname) $SELECTED = " SELECTED";
+ if($value == $ifdescr) $SELECTED = " SELECTED";
echo "<option value='" . $ifdescr . "'" . $SELECTED . ">" . $ifdescr . "</option>\n";
+ echo "<!-- {$value} -->";
}
echo "</select>\n";
echo "<br>" . fixup_string($pkga['description']) . "\n";
OpenPOWER on IntegriCloud