]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/install+setup/setup/networking.c
Build Error gefixt, config types gefixt, root partition auf 1GB
[people/teissler/ipfire-2.x.git] / src / install+setup / setup / networking.c
index 5f41aeaf9ba05c1d40f35f2e8714a53627d1a2a2..90cdf7068519b5f9967aebe810c8dfd807fb5e3e 100644 (file)
@@ -154,7 +154,7 @@ int oktoleave(char *errormessage)
        }       
 
        strcpy(temp, "0"); findkey(kv, "CONFIG_TYPE", temp); configtype = atol(temp);
-       if (configtype < 0 || configtype > 7) configtype = 0;
+       if (configtype < 1 || configtype > 4) configtype = 0;
 
        if (HAS_BLUE)
        {
@@ -236,7 +236,7 @@ int firstmenu(void)
                strcpy(networkrestart, ctr[TR_RESTART_REQUIRED]);
 
        strcpy(temp, ""); findkey(kv, "CONFIG_TYPE", temp); x = atol(temp);
-       if (x < 0 || x > 7) x = 0;
+       if (x < 1 || x > 4) x = 0;
        /* Format heading bit. */
        snprintf(message, 1000, ctr[TR_CURRENT_CONFIG], configtypenames[x],
                networkrestart);