summaryrefslogtreecommitdiffstats
path: root/net/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/net.c b/net/net.c
index 90315ca7e2..e2b2a783c8 100644
--- a/net/net.c
+++ b/net/net.c
@@ -381,6 +381,7 @@ restart:
#if (CONFIG_COMMANDS & CFG_CMD_DHCP)
case DHCP:
/* Start with a clean slate... */
+ BootpTry = 0;
NetOurIP = 0;
NetServerIP = getenv_IPaddr ("serverip");
DhcpRequest(); /* Basically same as BOOTP */
OpenPOWER on IntegriCloud