]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/setup/netstuff.c
setup: Show more than 6 NICs
[people/pmueller/ipfire-2.x.git] / 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);