diff options
Diffstat (limited to 'usr/local/www/pkg_edit.php')
-rwxr-xr-x | usr/local/www/pkg_edit.php | 3 |
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"; |