Instead of hard coding an interface address, use the friendly name in packages.

This commit is contained in:
Scott Ullrich 2005-03-02 18:24:48 +00:00
parent 0d7c85a678
commit 4831ce1377

View File

@ -354,7 +354,7 @@ if ($pkg['tabs'] <> "") {
$ifname = $iface['if'];
$SELECTED = "";
if($value == $ifname) $SELECTED = " SELECTED";
echo "<option value='" . $ifname . "'" . $SELECTED . ">" . $ifdescr . "</option>\n";
echo "<option value='" . $ifdescr . "'" . $SELECTED . ">" . $ifdescr . "</option>\n";
}
echo "</select>\n";
echo "<br>" . fixup_string($pkga['description']) . "\n";