Busybox CVS version ipcalc have problems:

- Can`t use 255.255.255.255 address
- typo: double check for valid ip address and uncheck for valid mask

httpd unseted SERVER_PORT (my bug from last_patch111).

last_patch_112 from Vladimir N. Oleynik
This commit is contained in:
Glenn L McGrath
2003-09-12 00:44:50 +00:00
parent 81155f8fa8
commit 14092a1ed2
2 changed files with 32 additions and 27 deletions

View File

@@ -1990,9 +1990,6 @@ int httpd_main(int argc, char *argv[])
if(uid > 0)
setuid(uid);
# endif
# ifdef CONFIG_FEATURE_HTTPD_CGI
addEnvPort("SERVER");
# endif
#endif
#ifdef CONFIG_FEATURE_HTTPD_CGI
@@ -2005,6 +2002,9 @@ int httpd_main(int argc, char *argv[])
if(p) {
setenv("PATH", p, 0);
}
# ifndef CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
addEnvPort("SERVER");
# endif
}
#endif