From: Remy Bohmer Date: Wed, 20 Aug 2008 09:30:28 +0000 (+0200) Subject: Fix bogus error message in the DHCP handler X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=51dfe1382ebaf691485badfa0ea5e75b0710531b;p=u-boot.git 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;