]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix bogus error message in the DHCP handler
authorRemy Bohmer <linux@bohmer.net>
Wed, 20 Aug 2008 09:30:28 +0000 (11:30 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Wed, 27 Aug 2008 05:44:27 +0000 (22:44 -0700)
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 <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/bootp.c

index 5121caa51baf13253905e90ed99e56102d7b01a0..64552ac2a64ce125a62e8d98a33c545a9ce85c76 100644 (file)
@@ -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;