From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] DHCP regression on 2009-06
Date: Mon, 20 Jul 2009 23:50:28 -0700 [thread overview]
Message-ID: <4A656534.6020104@gmail.com> (raw)
In-Reply-To: <1247603832-10715-1-git-send-email-michael.zaidman@gmail.com>
Michael,
Michael Zaidman wrote:
> Fixed the DHCP/BOOTP/RARP regression introduced in u-boot-2009.06
> by initializing our IP addr to 0 in order to accept any IP addr
> assigned to us by the DHCP/BOOTP/RARP server.
>
> Ack-by: Robin Getz <rgetz@blackfin.uclinux.org>
> Signed-off-by: Michael Zaidman <michael.zaidman@gmail.com>
> ---
> net/net.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/net/net.c b/net/net.c
> index 5637cf5..9bd3208 100644
> --- a/net/net.c
> +++ b/net/net.c
> @@ -388,17 +388,20 @@ restart:
> #if defined(CONFIG_CMD_DHCP)
> case DHCP:
> BootpTry = 0;
> + NetOurIP = 0;
> DhcpRequest(); /* Basically same as BOOTP */
> break;
> #endif
>
> case BOOTP:
> BootpTry = 0;
> + NetOurIP = 0;
> BootpRequest ();
> break;
>
> case RARP:
> RarpTry = 0;
> + NetOurIP = 0;
> RarpRequest ();
> break;
> #if defined(CONFIG_CMD_PING)
>
Applied to net repo.
thanks,
Ben
prev parent reply other threads:[~2009-07-21 6:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-14 20:37 [U-Boot] [PATCH] DHCP regression on 2009-06 Michael Zaidman
2009-07-14 20:40 ` [U-Boot] unassigned-patches/39: " u-boot at bugs.denx.de
2009-07-21 6:50 ` Ben Warren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A656534.6020104@gmail.com \
--to=biggerbadderben@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.