From: Remy Bohmer Date: Wed, 20 Aug 2008 09:30:28 +0000 (+0200) Subject: Fix bogus error message in the DHCP handler X-Git-Tag: v2008.10-rc1~81 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=51dfe1382ebaf691485badfa0ea5e75b0710531b;hp=61365501a0e2cae9c1df2818b7b5b3f52c450d18;p=u-boot Fix bogus error message in the DHCP handler The DHCP handler has 1 state that is not listed in this case, causing a failure message when there is actually no failure. Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren --- diff --git a/net/bootp.c b/net/bootp.c index 5121caa51b..64552ac2a6 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -969,6 +969,9 @@ DhcpHandler(uchar * pkt, unsigned dest, unsigned src, unsigned len) return; } break; + case BOUND: + /* DHCP client bound to address */ + break; default: puts ("DHCP: INVALID STATE\n"); break;