|
@@ -1718,7 +1718,6 @@ static int net_check_prereq (proto_t protocol)
|
|
#if defined(CONFIG_CMD_NFS)
|
|
#if defined(CONFIG_CMD_NFS)
|
|
case NFS:
|
|
case NFS:
|
|
#endif
|
|
#endif
|
|
- case NETCONS:
|
|
|
|
case TFTP:
|
|
case TFTP:
|
|
if (NetServerIP == 0) {
|
|
if (NetServerIP == 0) {
|
|
puts ("*** ERROR: `serverip' not set\n");
|
|
puts ("*** ERROR: `serverip' not set\n");
|
|
@@ -1728,7 +1727,9 @@ static int net_check_prereq (proto_t protocol)
|
|
defined(CONFIG_CMD_DNS)
|
|
defined(CONFIG_CMD_DNS)
|
|
common:
|
|
common:
|
|
#endif
|
|
#endif
|
|
|
|
+ /* Fall through */
|
|
|
|
|
|
|
|
+ case NETCONS:
|
|
if (NetOurIP == 0) {
|
|
if (NetOurIP == 0) {
|
|
puts ("*** ERROR: `ipaddr' not set\n");
|
|
puts ("*** ERROR: `ipaddr' not set\n");
|
|
return (1);
|
|
return (1);
|