mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
setup: Show more than 6 NICs
http://lists.ipfire.org/pipermail/development/2016-April/002074.html Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -648,7 +648,7 @@ int nicmenu(int colour)
|
||||
sprintf(message, _("Please choose a networkcard for the following interface - %s."), ucolourcard[colour]);
|
||||
rc=2;
|
||||
while ( rc == 2 ) {
|
||||
rc = newtWinMenu(_("Extended Network Menu"), message, 50, 5, 5, 6, pMenuInhalt, &choise,
|
||||
rc = newtWinMenu(_("Extended Network Menu"), message, 50, 5, 5, mcount, pMenuInhalt, &choise,
|
||||
_("Select"), _("Identify"), _("Cancel"), NULL);
|
||||
if ( rc == 2 ) {
|
||||
sprintf(temp, "/sbin/ip link set %s up", nics[found_NIC_as_Card[choise]].nic);
|
||||
|
||||
Reference in New Issue
Block a user