summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2008-08-20 11:30:28 +0200
committerBen Warren <biggerbadderben@gmail.com>2008-08-26 22:44:27 -0700
commit51dfe1382ebaf691485badfa0ea5e75b0710531b (patch)
tree910211cc0c078f25512c678ad91e4e605783a317 /net
parent61365501a0e2cae9c1df2818b7b5b3f52c450d18 (diff)
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 <linux@bohmer.net> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/bootp.c3
1 files changed, 3 insertions, 0 deletions
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;