From: Michael Tremer Date: Fri, 29 Apr 2016 12:22:34 +0000 (+0100) Subject: setup: Show more than 6 NICs X-Git-Tag: v2.19-core103~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d7e6b4b6146c85dfd0b5804242e0847f3645525;p=ipfire-2.x.git setup: Show more than 6 NICs http://lists.ipfire.org/pipermail/development/2016-April/002074.html Signed-off-by: Michael Tremer --- diff --git a/src/setup/netstuff.c b/src/setup/netstuff.c index 240306e971..000411c75c 100644 --- a/src/setup/netstuff.c +++ b/src/setup/netstuff.c @@ -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);