From 51dfe1382ebaf691485badfa0ea5e75b0710531b Mon Sep 17 00:00:00 2001 From: Remy Bohmer Date: Wed, 20 Aug 2008 11:30:28 +0200 Subject: [PATCH] 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 --- net/bootp.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.30.2