]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/install+setup/setup/networking.c
Buildfix
[people/pmueller/ipfire-2.x.git] / src / install+setup / setup / networking.c
index 6bac6b60844ef9cb1e754b4e7788bf212f8c8054..ed18f40293b7682e4124b32f1015ae7ddf45d0f6 100644 (file)
@@ -41,7 +41,7 @@ int configtypecards[] = {
        2,      // "GREEN + RED",
        3,      // "GREEN + RED + ORANGE",
        3,      // "GREEN + RED + BLUE",
-       4       // "GREEN + RED + ORANGE + BLUE",
+       4         // "GREEN + RED + ORANGE + BLUE",
 };
 
 
@@ -282,6 +282,7 @@ int configtypemenu(void)
        found = scan_network_cards();
        
        findkey(kv, "CONFIG_TYPE", temp); choise = atol(temp);
+       choise--;
 
        do
        {