]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
setup: Show more than 6 NICs
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Apr 2016 12:22:34 +0000 (13:22 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Apr 2016 12:23:24 +0000 (13:23 +0100)
http://lists.ipfire.org/pipermail/development/2016-April/002074.html

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/setup/netstuff.c

index 240306e97171e8a9cdfd45039be19a6e5e224400..000411c75c1ce98033ad761c0910f0359c76ad10 100644 (file)
@@ -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);